-
-
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
Implement WebSocketResponse.get_extra_info method to avoid using private member #7658
Implement WebSocketResponse.get_extra_info method to avoid using private member #7658
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7658 +/- ##
=======================================
Coverage 97.36% 97.36%
=======================================
Files 106 106
Lines 31648 31665 +17
Branches 3620 3624 +4
=======================================
+ Hits 30813 30830 +17
Misses 632 632
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f203412
to
efa76ed
Compare
48fbda6
to
4b41505
Compare
4b41505
to
0da90df
Compare
0da90df
to
4ea8d2d
Compare
Backport to 3.9: 💚 backport PR created✅ Backport PR branch: Backported as #7695 🤖 @patchback |
….get_extra_info method to avoid using private member (aio-libs#7695) **This is a backport of PR aio-libs#7658 as merged into master (39f8ff2).**
What do these changes do?
This change introduces new method to access get_extra_info from a WebSocketResponse, like its possible in ClientWebSocketResponse to avoid accessing the private member like in
response._writer.transport.get_extra_info("the info")
Related issue number
#7078
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.