UnpackValue
Unpack value from nested level
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 to unpack (associated value should be of type Dict[str, Any]).
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
execute
Unpack value of specified key
Arguments:
input_data (Dict[str, Any]): Current data.
Raises:
InputDataKeyError: If specified key doesn't exist.
IvalidInputData: If nested data has invalid type.
Returns:
Dict[str, Any]: Updated data.
Last updated