Add stubs for _async methods #749
Replies: 7 comments
-
|
Beta Was this translation helpful? Give feedback.
-
I believe this issue can be closed now as we already have a workaround discussed on this thread. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
Of course. My point was just that this issue isn't closed until that PR gets created and merged. |
Beta Was this translation helpful? Give feedback.
-
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". |
Beta Was this translation helpful? Give feedback.
-
@Avasam Please feel free to open a PR. I can review it and will update you acordingly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions