MCPcopy
hub / github.com/psycopg/psycopg / Notify

Class Notify

psycopg/psycopg/_connection_base.py:60–70  ·  view source on GitHub ↗

An asynchronous notification received from the database.

Source from the content-addressed store, hash-verified

58
59
60class Notify(NamedTuple):
61 """An asynchronous notification received from the database."""
62
63 channel: str
64 """The name of the channel on which the notification was received."""
65
66 payload: str
67 """The message attached to the notification."""
68
69 pid: int
70 """The PID of the backend process which sent the notification."""
71
72
73Notify.__module__ = "psycopg"

Callers 3

notifiesMethod · 0.85
notifiesMethod · 0.85
_notify_handlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected