-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Replace type_workarounds.NotImplementedType with types.NotImplementedType #6790
Replace type_workarounds.NotImplementedType with types.NotImplementedType #6790
Conversation
…tedType - Updated code to use Python 3.10's built-in types.NotImplementedType, removing the need for the type_workarounds module. This change simplifies the codebase by relying on standard types, allowing us to delete the now-redundant type_workarounds.py file.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6790 +/- ##
==========================================
- Coverage 97.85% 97.84% -0.01%
==========================================
Files 1085 1084 -1
Lines 93592 93590 -2
==========================================
- Hits 91582 91577 -5
- Misses 2010 2013 +3 ☔ View full report in Codecov by Sentry. |
For a faster testing consider setting up a Python development environment following After that running |
@pavoljuhas, All checks have passed |
No change in code function
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 for fixing this!
Thanks, @pavoljuhas, for reviewing and merging the PR! |
Replaced type_workarounds.NotImplementedType with types.NotImplementedType
Updated code to use Python 3.10's built-in types.NotImplementedType, removing the need for the type_workarounds module.
This change simplifies
the codebase by relying on standard types, allowing us to delete the now-redundant type_workarounds.py file.
Fixes #6775