Exemplo n.º 1
0
 def __init__(self, component_manager, id=None):
     ActivityCriterion.__init__(self, component_manager, id)
     # (card_type.id, fact_view.id):
     self.deactivated_card_type_fact_view_ids = set()
     # We work with _ids instead of ids for speed.
     self.active_tag__ids = set()
     self.forbidden_tag__ids = set()
Exemplo n.º 2
0
 def __init__(self, component_manager, id=None):
     ActivityCriterion.__init__(self, component_manager, id)
     self.threshold = 5