Public Member Functions | |
def | __bool__ (self) |
def | __contains__ (self, item) |
def | __getattr__ (self, name) |
def | __getitem__ (self, key) |
def | __init__ (self, count, firsts, lasts) |
def | __len__ (self) |
def | __nonzero__ (self) |
Private Attributes | |
_count | |
_firsts | |
_lasts | |
Object for <topic x> replacements in condition expressions. - len(topic) -> number of messages processed in topic - bool(topic) -> whether there are any messages in topic - topic[x] -> history at -1 -2 for last and but one, or 0 1 for first and second - topic.x -> attribute x of last message - value in topic -> whether any field of last message contains value - value in topic[x] -> whether any field of topic history at position contains value
def grepros.inputs.ConditionMixin.Topic.__init__ | ( | self, | |
count, | |||
firsts, | |||
lasts | |||
) |
def grepros.inputs.ConditionMixin.Topic.__contains__ | ( | self, | |
item | |||
) |
def grepros.inputs.ConditionMixin.Topic.__getattr__ | ( | self, | |
name | |||
) |
def grepros.inputs.ConditionMixin.Topic.__getitem__ | ( | self, | |
key | |||
) |
def grepros.inputs.ConditionMixin.Topic.__nonzero__ | ( | self | ) |