Package pgq :: Module event :: Class Event
[frames] | no frames]

Class Event

source code

object --+
         |
        Event

Event data for consumers.

Consumer is supposed to tag them after processing. If not, events will stay in retry queue.

Instance Methods
 
__init__(self, queue_name, row)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattr__(self, key) source code
 
tag_done(self) source code
 
tag_retry(self, retry_time=60) source code
 
tag_failed(self, reason) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, queue_name, row)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)