Executable
Base class of executables
Last updated
Base class of executables
Last updated
Subclass of .
Main methods and properties
input_class (Type[]): Class for input validation.
output_class (Type[]): Class for output validation.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
replace (, optional): Replacing strategy. Defaults to ..
Main logic. This method should overwritten when custom executable created.
Dict[str, Any]: Result of execution.
Validation of input/output
data (Dict[str, Any]): Input/output data.
IvalidInputDataValue: If data is invalid.
Validation of input
data (Dict[str, Any]): Input data.
Validation of output
data (Dict[str, Any]): Output data.
Validate input, invoke and validate output
input_data (Dict[str, Any]): Data for processing.
ExecutableError: If any error occures.
Dict[str, Any]: Result of execution.
get_key (Optional[str], optional): Which key value of input_data will be used. If value equal to None, root dict will be used. Defaults to None.
set_key (Optional[str], optional): Which key will be used to set result value. If set_key value equal to None: - if result of type Dict[str, Any], update root dict; - else, set result to default_key. Defaults to None.
default_key (str, optional): Default key used for results that is not of type Dict. Defaults to "output".
Component Call
ExecutableError: If any error occures.
If get_key is associated with list of inputs and set_key is not specified, result will be seted to default_key (By default equals to "output").
input_data (): Validated input.
evaluator (): Evaluator in context of which executed.
validation_class (Type[]): Class used for validation.
: Validated data.
: Validated input.
: Validated output.
evaluator (): Evaluator in context of which executed.
Creates which manages context
replace (, optional): Replacing strategy for executor. If equals to None, this executable strategy will be used. Defaults to None.
: Wrapper of Executable
Subclass of . Wrapper of .
input_data (): Data for processing
evaluator (Optional[], optional): Evaluator in context of which component executed. If equals to None, default evaluator will be created. Defaults to None.
: Result of executed component.