AddData

Add provided data to input data

Subclass of Action. Type: Action[Dict[str, Any], Dict[str, Any]].

Module: core

Methods and properties

Main methods and properties


__init__

Arguments:

  • data (Dict[str, Any]): Key/value pairs that will be added to input data.

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


execute

Update input data with provided data

Arguments:

  • input_data (Dict[str, Any]): Current data.

Returns:

  • Dict[str, Any]: Updated data.



Last updated