dqa.tasks.data_structure.MetadataDefaultValue#
- class dqa.tasks.data_structure.MetadataDefaultValue(entry_name: str | List[str], value: Any, per_row: bool = True, **kwargs)#
Sets default values for metadata entries. All previous values are retained, only missing values are set.
- Parameters:
entry_name (str or list of strings) – The name(s) of the entries to set.
value (any) – The value to set for the metadata entry.
per_row (bool, default=True) – Indicates whether the entry should be set in the local metadata dictionary for each input data row. Otherwise it is set once in the global metadata dictionary for each measurement.
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
set_metadata_values
transfer_metadata