RenameAttribute
Rename specified key in input data
Last updated
Rename specified key in input data
Last updated
Subclass of . Type: [Dict[str, Any], Dict[str, Any]].
Main methods and properties
old_name (str): Current name.
new_name (str): New name.
name (Optional[str], optional): Name for identification. If equals to None, class name will be used. Defaults to None.
Rename key
input_data (Dict[str, Any]): Current data.
InputDataKeyError: Key for renaming doesn't exist.
Dict[str, Any]: Updated data.