-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Edited the web.run_app declaration. #6401
Edited the web.run_app declaration. #6401
Conversation
The run_app function takes the "sock" parameter which can be iterable as well.
Codecov Report
@@ Coverage Diff @@
## master #6401 +/- ##
=======================================
Coverage 93.34% 93.34%
=======================================
Files 104 104
Lines 30456 30456
Branches 3064 3064
=======================================
Hits 28429 28429
Misses 1850 1850
Partials 177 177
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Backport to 3.8: 💚 backport PR created✅ Backport PR branch: Backported as #6404 🤖 @patchback |
* Edited the web.run_app declaration. The run_app function takes the "sock" parameter which can be iterable as well. * Updated CONTRIBUTORS.txt. * Added description to CHANGES. * Use TypingIterable instead of Iterable. (cherry picked from commit 5e0e6b7)
Backport to 3.9: 💚 backport PR created✅ Backport PR branch: Backported as #6405 🤖 @patchback |
* Edited the web.run_app declaration. The run_app function takes the "sock" parameter which can be iterable as well. * Updated CONTRIBUTORS.txt. * Added description to CHANGES. * Use TypingIterable instead of Iterable. (cherry picked from commit 5e0e6b7)
* Edited the web.run_app declaration. The run_app function takes the "sock" parameter which can be iterable as well. * Updated CONTRIBUTORS.txt. * Added description to CHANGES. * Use TypingIterable instead of Iterable. (cherry picked from commit 5e0e6b7) Co-authored-by: TiunovNN <[email protected]>
Co-authored-by: TiunovNN <[email protected]>
The run_app function takes the "sock" parameter which
can be iterable as well.
What do these changes do?
Edited type annotation of the web.run_app function in according to its behavior.
Are there changes in behavior for the user?
This change will be helpful for people who use a type checker.
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.