Flush
Remove specific keys or all
Last updated
Remove specific keys or all
Last updated
Subclass of Action. Type: Action[Dict[str, Any], Dict[str, Any]].
Main methods and properties
keys (Optional[List[str]], optional): Keys for removing. If equals to None, all keys will be removed. Defaults to None.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
Remove specified keys
input_data (Dict[str, Any]): Current data.
InputDataKeyError: Key for removing doesn't exist.
Dict[str, Any]: Updated data.