From: Daniele Varrazzo Date: Mon, 27 Sep 2021 09:23:26 +0000 (+0200) Subject: Fix doc for Notify X-Git-Tag: 3.0~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3ffaaf84575f4b635a605189b4402f038480b55;p=thirdparty%2Fpsycopg.git Fix doc for Notify Probably autoclass is confused by the class module being changed. --- diff --git a/docs/api/connections.rst b/docs/api/connections.rst index 8c9e6a379..f132c6420 100644 --- a/docs/api/connections.rst +++ b/docs/api/connections.rst @@ -334,10 +334,24 @@ Connection support objects -------------------------- .. autoclass:: Notify() - :members: channel, payload, pid The object is usually returned by `Connection.notifies()`. + .. attribute:: channel + :type: str + + The name of the channel on which the notification was received. + + .. attribute:: payload + :type: str + + The message attached to the notification. + + .. attribute:: pid + :type: int + + The PID of the backend process which sent the notification. + .. autoclass:: ConnectionInfo()