SetValue

Set new value

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

Module: core

Methods and properties

Main methods and properties


__init__

Arguments:

  • key (str): Key for which new value will be seted.

  • value (Any): New value.

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


execute

Set new value to key

Arguments:

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

Returns:

  • Dict[str, Any]: Updated data.



Last updated