-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Use Self
where possible
#9479
Use Self
where possible
#9479
Conversation
CodSpeed Performance ReportMerging #9479 will not alter performanceComparing Summary
|
Please review |
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.
Great work here!
Is this one intended to be a breaking change ? |
if resolved_bases is not __base__: | ||
ns['__orig_bases__'] = __base__ | ||
namespace.update(ns) | ||
|
||
return meta( | ||
__model_name, | ||
model_name, |
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.
this one is breaking backwards compatibility
def create_model( | ||
__model_name: str, | ||
model_name: str, |
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.
this one is breaking backwards compatibility
@vikyw89 You can read more about it here: https://typing.readthedocs.io/en/latest/spec/historical.html#positional-only-parameters. It is technically a breaking change, although using |
Change Summary
Related issue number
Checklist
Selected Reviewer: @davidhewitt