dqa.tasks.data_structure.RenameRowMetadata#

class dqa.tasks.data_structure.RenameRowMetadata(names_to_change: str | List[str], new_name: str, default_value: Any | None = None, **kwargs)#

Renames one or multiple metadata entries for a specific data row.

Parameters:
  • names_to_change (str or list of strings) – The names of the metadata entries to change for each input row.

  • new_name (str) – The new name.

  • default_value (any, default=None) – If set, then for each specified metadata entry that is missing, this value is set. Otherwise the missing values are ignored.

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