dqa.tasks.transformations.SubstituteTask#
- class dqa.tasks.transformations.SubstituteTask(substitutions: Dict[str, Any], default_value: Any | None = None, **kwargs)#
Performs substitutions given by a fixed dictionary.
- Parameters:
substitutions (dict) – A dictionary containing all the substitutions to be performed. Note that the keys need to be strings. Any numerical values in the input will be converted to strings.
default_value (any, default=None) – Any value not found in the dictionary will be replaced by this.
Methods
finish
()Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.
in_out_default
input_output_dataset
input_output_machine
input_output_mode
input_output_name
log
modify_data_row
modify_dataset
modify_dataset_dict
modify_machine
modify_measurement
set_logging_level
transfer_metadata