autosweep.data_types.DUTInfo#
- class autosweep.data_types.DUTInfo(part_num: PN, ser_num: SN, **kwargs: dict)[source]#
DUTInfo stores the part number, the serial number, and any additional information relevant to the DUT.
- Parameters:
part_num (autosweep.data_types.metadata.PN) – The DUT part number
ser_num (autosweep.data_types.metadata.SN) – The DUT serial number
kwargs (dict) – Any additional information
Methods
__init__
(part_num, ser_num, **kwargs)from_dict
(data)A class method to generate a class instance from a dict
to_dict
()Used to turn the instance into a dictionary.
Attributes
part_num
An accessor for the full part number
ser_num
An accessor for the serial number