Module pyinotify :: Class Event
[hide private]
[frames] | no frames]

Class Event

source code


This class contains all the useful informations about the observed event. However, the presence of each field is not guaranteed and depends on the type of event. In effect, some fields are irrelevant for some kind of event (for example 'cookie' is meaningless for IN_CREATE whereas it is mandatory for IN_MOVE_TO).

The possible fields are:

Instance Methods [hide private]
 
__init__(self, raw)
Concretely, this is the raw event plus inferred infos.
source code

Inherited from _Event: __repr__, __str__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, raw)
(Constructor)

source code 

Concretely, this is the raw event plus inferred infos.

Parameters:
  • dict_ - Set of attributes.
Overrides: object.__init__