-
Notifications
You must be signed in to change notification settings - Fork 173
Add stubs for _async methods #615
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
Comments
|
I believe this issue can be closed now as we already have a workaround discussed on this thread. |
Isn't that workaround to wait for Avasam to merge the typeshed PR and then use types-auth0-python instead? Still looks to me like something needs to be done in this repo in order to provide types directly and close #612. |
@Dreamsorcerer There was a PR for the same where it was asked to add the That's the same approach @Avasam (correct me if I am wrong ) is pushing forward but with some specific tweaks to the generation logic. If he is willing to add a PR to this repo, I can review it and take it forward. |
Of course. My point was just that this issue isn't closed until that PR gets created and merged. |
If you don't mind having a script to run once in a while to "keep the stubs in sync". I can migrate the script I made for python/typeshed#13826 to over here. Then I think you'll have everything you need to declare this library as "first-party typed". |
@Avasam Please feel free to open a PR. I can review it and will update you acordingly. |
Checklist
Describe the problem you'd like to have solved
The built-in asyncify is very useful, but the way it's implemented means that typing checking (such as via Pyre) and IDEs have no idea these exist.
Describe the ideal solution
Add function stubs for every method that supports async with type hinting.
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: