Fix Application.create_task type hinting#3543
Fix Application.create_task type hinting#3543Bibo-Joshi merged 12 commits intopython-telegram-bot:masterfrom
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. |
Bibo-Joshi
left a comment
There was a problem hiding this comment.
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. |
|
Thank you for your contribution @sam-mosleh ! :) |
Closes #3540
Checklist for PRs
.. versionadded:: version,.. versionchanged:: versionor.. deprecated:: versionto the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)AUTHORS.rst(optional)