dqa.tasks.data_structure.SubstituteNamesRegex#

class dqa.tasks.data_structure.SubstituteNamesRegex(input_regex: str, output_regex: str, level: str = 'Machine', **kwargs)#

Performs a regex substitution on names in the dataset.

Parameters:
  • input_regex (str) – The regex for the replacement.

  • output_regex – Each machine name is adjusted by re.sub(input_machine_regex, output_machine_regex, …).

  • level (str, default='Machine') – The level on which the names should be replaced. Possible values are ‘Dataset’, ‘Machine’, ‘Row’, and ‘Entry’.

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