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

Update docs on request cookies #5725

Merged
merged 2 commits into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES/5725.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed docs on request cookies type, so it matches what is actually used in the code (a
read-only dictionary-like object).
4 changes: 2 additions & 2 deletions docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ and :ref:`aiohttp-web-signals` handlers.

.. attribute:: cookies

A multidict of all request's cookies.
A read-only dictionary-like object containing the request's cookies.

Read-only :class:`~multidict.MultiDictProxy` lazy property.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to have an intersphinx reference to the actual type in the CPython docs. https://webknjaz.github.io/intersphinx-untangled/docs.python.org should help you construct it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Should be fixed by 767f6f5

Read-only :class:`~types.MappingProxyType` property.

.. attribute:: content

Expand Down