autosweep.data_types.SN#
- class autosweep.data_types.SN(num: str | int)[source]#
The representation of a serial number.
- Parameters:
num (str or int) – The serial number
- __init__(num: str | int)#
Methods
__init__(num)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
ser_numAn accessor for the serial number