-
Notifications
You must be signed in to change notification settings - Fork 167
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
Type checks started failing on our codebase with v4.4 #514
Comments
Thanks @lorinkoz - will take a look |
I'm also seeing this issue after just updating to 4.4 |
Thanks for fixing so quickly! Do you plan to do a patch release for this change alone or do you normally wait for a few more fixes before cutting a release? |
Np @lorinkoz - will ship a patch today |
@lorinkoz - apologies - it might take a little longer while I fix a releasing issue Will update this thread when the patch is up |
Good day. FYI, the problem remains. I just checked the PR and it seems to be adjusting the mypy config for this repo, but this doesn't have any effect on projects using the package. |
Well this looks similar to #483 but for the auth0-python/auth0/management/auth0.py Lines 54 to 94 in b10cd5b
Or by doing it in a |
@Viicos We add async variants to every method in the management client at runtime - eg |
Looking at how it is done currently: auth0-python/auth0/management/async_auth0.py Lines 30 to 42 in d1097e7
And the fact that The fix you did on #515 only affects the current project, as the |
I don't think It's reasonable to expect users of this package to have to do this, if there isn't a better solution I'm going to have to remove the |
### Changes This package started publishing types in 4.4, but the way we add async classes and methods makes type checking unfeasible. Revert publishing types externally until a better solution is available (this will probably be by generating the SDK). ### References fixes #514 See https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages
Thanks again! |
Checklist
Description
No complaints on v4.3, automatic upgrade PR on v4.4 fails like this:
Example of the code:
Reproduction
[Nothing useful to add here]
Additional context
No response
auth0-python version
4.4
Python version
3.11
The text was updated successfully, but these errors were encountered: