Skip to content
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

[3.6] Implement BaseRequest.get_extra_info() (#4196) #4231

Merged
merged 1 commit into from
Oct 18, 2019

Conversation

asvetlov
Copy link
Member

BaseRequest.get_extra_info() provides a shortcut for accessing extra
information from the underlying protocols' transport

Add versionadded to get_extra_info() documentation
(cherry picked from commit fbc9cf6)

Co-authored-by: Raphael Bialon rbialon@users.noreply.github.com

* Add get_extra_info for BaseRequest

`BaseRequest.get_extra_info()` provides a shortcut for accessing extra
information from the underlying protocols' transport

* Add get_extra_info default value test

* Add return type annotation to BaseRequest.get_extra_info()

* Remove async from BaseRequest.get_extra_info()

* Rewrite get_extra_info test, cover all branches

* Add news entry to CHANGES for #4189

* Add Raphael Bialon to CONTRIBUTORS.txt

* Add documentation for BaseRequest.get_extra_info()

* Update web_reference.rst

Add versionadded to get_extra_info() documentation
(cherry picked from commit fbc9cf6)

Co-authored-by: Raphael Bialon <rbialon@users.noreply.github.com>
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Oct 18, 2019
@codecov-io
Copy link

codecov-io commented Oct 18, 2019

Codecov Report

Merging #4231 into 3.6 will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              3.6    #4231      +/-   ##
==========================================
+ Coverage   97.97%   97.97%   +<.01%     
==========================================
  Files          44       44              
  Lines        8874     8882       +8     
  Branches     1390     1392       +2     
==========================================
+ Hits         8694     8702       +8     
  Misses         71       71              
  Partials      109      109
Impacted Files Coverage Δ
aiohttp/web_request.py 97.51% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d8f62b...dfc562d. Read the comment docs.

@asvetlov asvetlov merged commit 529e760 into 3.6 Oct 18, 2019
@asvetlov asvetlov deleted the backport-fbc9cf6-3.6 branch October 18, 2019 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants