agent.rules.conditions module¶
Rule condition helpers.
-
agent.rules.conditions.is_always(event, before, after)¶ Return
True. Always means always.- Return type
-
agent.rules.conditions.is_feature_type(feature_type)¶ Generate a condition based on feature type.
- Return type
Callable[[Event,Submission,Submission],bool]
-
agent.rules.conditions.is_system_event(event, before, after)¶ Only for system-created events.
- Return type