preheat_open.measurements.AttrMap
- class preheat_open.measurements.AttrMap(attribute)
Bases:
MapItemMaps a component to a string based on a specified attribute.
- Variables:
attribute (str) – The attribute to use for mapping.
- __init__(attribute)
Methods
__init__(attribute)map(component)Maps a component to a string based on the specified attribute.
Attributes
attribute