-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: replace MLContext with Context #3907
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3907 +/- ##
==========================================
- Coverage 91.28% 91.27% -0.01%
==========================================
Files 466 466
Lines 57985 57990 +5
Branches 5566 5566
==========================================
+ Hits 52929 52931 +2
- Misses 3629 3631 +2
- Partials 1427 1428 +1 ☔ View full report in Codecov by Sentry. |
@@ -232,5 +232,7 @@ def get_optional_dialect(self, name: str) -> "Dialect | None": | |||
return None | |||
|
|||
|
|||
@deprecated("Please use Context instead") | |||
class MLContext(Context): ... | |||
class MLContext(Context): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's wrong with @deprecated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool username :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
o7
Just a single find and replace.
Fixes #249
Keeps MLContext as a deprecated subclass of Context for clients.