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
dialects: Migrate func dialect to use init from get methods #1333
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1333 +/- ##
==========================================
- Coverage 89.64% 89.63% -0.01%
==========================================
Files 191 191
Lines 24868 24873 +5
Branches 3750 3751 +1
==========================================
+ Hits 22294 22296 +2
- Misses 1982 1985 +3
Partials 592 592
☔ View full report in Codecov by Sentry. |
|
||
@deprecated("Use func.Call(...) instead!") | ||
@staticmethod | ||
def get( |
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.
Do we need the get
now? Isn't it replaced everywhere it was referenced?
In other words, what I'm asking is when to deprecate the public API and how should we go about it in general @math-fehr ?
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.
I'm actually not completely sure, but I would suggest to keep it deprecated
for at least one release?
I don't think we break much of the public API anymore, so I guess we should be careful.
That being said, I recall others saying that we should probably just remove it.
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.
LGTM
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.
thank you
#1120: Migrate
func.Call
to use init from get methods