ExecutionSchema

Component for ordered execution of sequance of components

Subclass of Component.

Module: core

Methods and properties

Main methods and properties


__init__

Arguments:

  • component (Optional[Component], optional): Initial Component. Defaults to None.

  • name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.


add

Add Component to the end

Arguments:

  • component (Optional[Component], optional): New component.

Returns:


__or__

Add Component to ExecutionSchema

Arguments:

  • component (Optional[Component], optional): New component.

Returns:


__call__

Component Call

Arguments:

  • input_data (Transformable): Data for processing

  • evaluator (Optional[Evaluator], optional): Evaluator in context of which component executed. If equals to None, default evaluator will be created. Defaults to None.

Raises:

  • ExecutionSchemaFailed: If any error occurs.

Returns:



Last updated