autosweep.data_types.MetaNum#

class autosweep.data_types.MetaNum(num: str | int)[source]#

A MetaNum is any alphanumeric string or int that is used to represent a specific value with fixed formatting

Parameters:

num (str or int) – The value to hold

__init__(num: str | int)[source]#

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.