-
-
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
Deprecate obsolete timeout in ClientSession.ws_connect() #3946
Conversation
@ayushkovskiy it looks like you use some syntax which is incompatible with Python 3.5: https://travis-ci.com/aio-libs/aiohttp/jobs/220023040#L511 |
@ayushkovskiy Please keep 3.5 compatible syntax for a while: #3947 (comment) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3946 +/- ##
==========================================
+ Coverage 97.67% 97.78% +0.11%
==========================================
Files 43 43
Lines 8761 8763 +2
Branches 1377 1375 -2
==========================================
+ Hits 8557 8569 +12
+ Misses 89 81 -8
+ Partials 115 113 -2 ☔ View full report in Codecov by Sentry. |
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.
LGTM
@yjqiang is the latest PR version good to you? |
thanks! |
Backport to 3.11: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply c09c538 on top of patchback/backports/3.11/c09c538e036619ae549280fb9051fd6084e8252c/pr-3946 Backporting merged PR #3946 into master
🤖 @patchback |
(cherry picked from commit c09c538)
(cherry picked from commit c09c538) --------- Co-authored-by: Artem Yushkovskiy <[email protected]>
closes #3945
What do these changes do?
Deprecate obsolete
timeout: float
andreceive_timeout: Optional[float]
inClientSession.ws_connect()
. Change default websocket receive timeout fromNone
to10.0
.Related issue number
#3945
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.