Skip to content

Commit 54f1a84

Browse files
authored
Add missing prepared method for WebSocketResponse to docs (#10988)
1 parent 2617ab2 commit 54f1a84

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
@@ -1045,6 +1045,11 @@ and :ref:`aiohttp-web-signals` handlers::
10451045
of closing.
10461046
:const:`~aiohttp.WSMsgType.CLOSE` message has been received from peer.
10471047

1048+
.. attribute:: prepared
1049+
1050+
Read-only :class:`bool` property, ``True`` if :meth:`prepare` has
1051+
been called, ``False`` otherwise.
1052+
10481053
.. attribute:: close_code
10491054

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

0 commit comments

Comments
 (0)