Package gavo :: Package rscdef :: Module rowtriggers
[frames] | no frames]

Module rowtriggers

source code

Framework for ignoring rows based on various conditions.

Classes
  TriggerPulled
  TriggerBase
A trigger, i.e., a boolean construct.
  KeyedCondition
is an abstract base class for triggers firing on a single key.
  KeyPresent
A trigger firing if a certain key is present in the dict.
  KeyMissing
A trigger firing if a certain key is missing in the dict.
  KeyNull
A trigger firing if a certain key is missing or NULL/None
  KeyIs
A trigger firing when the value of key in row is equal to the value given.
  ConditionBase
is an abstract base for anything that can incorporate the basic triggers.
  Not
A trigger that is false when its children, or-ed together, are true and vice versa.
  And
A trigger that is true when all its children are true.
  IgnoreOn
A condition on a row that, if true, causes the row to be dropped.
Functions
 
registerTrigger(trigger) source code
 
getTrigger(name) source code
Variables
  __package__ = 'gavo.rscdef'