-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Fix Application.create_task type hinting #3543
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
Fix Application.create_task type hinting #3543
Conversation
|
# Not gonna work
asyncio.create_task(
asyncio.gather(
...
)
) So in order to make a |
Aha! Thanks for the finding :) Them I'm good with changing to Moreover, I realize that Would you like to add this to your PR? this would include
If you'd rather like to keep your PR as-is, that's perfectly fine. It can go in a follow-up PR, then. PS: the type completeness check can't cope with PRs from external repos yet. before merging we should check the type completeness manually |
Is supporting an edge-case (generators) necessary for the |
I think it would be benefitial, yes. The idea behind |
@Bibo-Joshi Since I'm not familiar with the workflows, I'll leave the versioning and documentation of |
I'm not sure why, but it appears that the Codecov upload token is missing, and because of that, tests are currently failing. |
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.
Thanks for the updates! I left some small comments :)
Codecove sometime has a hiccup - rerunning the tests fixed it …
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
@Bibo-Joshi I apologize for the misclick in my request for a 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.
Changes LGTM
Thank you for your contribution @sam-mosleh ! :) |
Closes #3540
Checklist for PRs
.. versionadded:: version
,.. versionchanged:: version
or.. deprecated:: version
to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)AUTHORS.rst
(optional)