ExecuteFunction
Execute provided function
Subclass of Action.
Module: core
Methods and properties
Main methods and properties
__init__
Arguments:
f (Callable[[ActionInput], ActionOutput]): Function for execution.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
default_key (str, optional): Default key used for results that is not of type Dict. Defaults to "output".
replace (ReplacingScope, optional): Replacing strategy. Defaults to ReplacingScope.INPLACE.
execute
Execute provided function
Arguments:
input_data (ActionInput): Function input.
Returns:
ActionOutput: Function output.
Last updated