Skip to content

Commit fa088d0

Browse files
[PR #10988/54f1a84f backport][3.12] Add missing prepared method for WebSocketResponse to docs (#10990)
Co-authored-by: J. Nick Koston <[email protected]>
1 parent 6a60fb7 commit fa088d0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGES/10988.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6009.bugfix.rst

CHANGES/6009.bugfix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fixed ``WebSocketResponse.prepared`` property to correctly reflect the prepared state, especially during timeout scenarios -- by :user:`bdraco`
1+
Fixed :py:attr:`~aiohttp.web.WebSocketResponse.prepared` property to correctly reflect the prepared state, especially during timeout scenarios -- by :user:`bdraco`

docs/web_reference.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,11 @@ and :ref:`aiohttp-web-signals` handlers::
10761076
of closing.
10771077
:const:`~aiohttp.WSMsgType.CLOSE` message has been received from peer.
10781078

1079+
.. attribute:: prepared
1080+
1081+
Read-only :class:`bool` property, ``True`` if :meth:`prepare` has
1082+
been called, ``False`` otherwise.
1083+
10791084
.. attribute:: close_code
10801085

10811086
Read-only property, close code from peer. It is set to ``None`` on

0 commit comments

Comments
 (0)