-
-
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
Deprecated BaseRequest.has_body, replaced with 2 new attributes (#2005) #2169
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2169 +/- ##
==========================================
+ Coverage 97.12% 97.12% +<.01%
==========================================
Files 39 39
Lines 7848 7884 +36
Branches 1360 1366 +6
==========================================
+ Hits 7622 7657 +35
Misses 101 101
- Partials 125 126 +1
Continue to review full report at Codecov.
|
warnings.warn( | ||
"Deprecated, use .can_read_body #2005", | ||
DeprecationWarning, stacklevel=2) | ||
return not self._payload.at_eof() |
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.
please add a test for the case
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.
Added old attr back into test cases - is this okay or should I break it out into another test case?
thanks |
…libs#2005) (aio-libs#2169) * Deprecated BaseRequest.has_body, replaced with 2 new attributes * Test obsolete BaseRequest.has_body attr
#2005
of the request