Condition
Condition class used for evaluation of intermediate data
Last updated
Condition class used for evaluation of intermediate data
Last updated
Main methods and properties
validator (): Callable that returns bool value that define that condition is fulfilled or not.
schema (): Intermidiate evaluation.
state (Optional[List[Union[str, Tuple[str, str]]]], optional): Memory keys that will be used. If equals to None, memory will not be used. Defaults to None.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
Component Call
bool: Result of evaluation. Define that condition is fulfilled or not.
input_data (): Data for processing
evaluator (Optional[], optional): Evaluator in context of which Condition executed.
Type that describes objects that can be used as conditions and validators in Condition. Equals to Callable[[, ], bool].