class documentation

A Notification from a Channel.

Notifications are not usually constructed directly, but are returned from functions like notification_from_headers().

Method __init__ Notification constructor.
Instance Variable message_number int, The unique id number of this notification.
Instance Variable resource_id str, The unique identifier of the version of the resource at this event.
Instance Variable resource_uri Undocumented
Instance Variable state str, The state of the resource being monitored.
Instance Variable uri str, The address of the resource being monitored.
@util.positional(5)
def __init__(self, message_number, state, resource_uri, resource_id):

Notification constructor.

Parameters
message_numberint, The unique id number of this notification.
statestr, The state of the resource being monitored. Can be one of "exists", "not_exists", or "sync".
resource_uristr, The address of the resource being monitored.
resource_idstr, The identifier of the watched resource.
message_number =

int, The unique id number of this notification.

resource_id =

str, The unique identifier of the version of the resource at this event.

resource_uri =

Undocumented

state =

str, The state of the resource being monitored.

uri =

str, The address of the resource being monitored.