kittycad.models.unit_mass
Classes
|
The valid types of mass units. |
- class kittycad.models.unit_mass.UnitMass(value)[source][source]
The valid types of mass units.
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_mass', '__doc__': 'The valid types of mass units.', '__str__': <function UnitMass.__str__>, '__dict__': <attribute '__dict__' of 'UnitMass' objects>, '__weakref__': <attribute '__weakref__' of 'UnitMass' objects>, '_member_names_': ['G', 'KG', 'LB'], '_member_map_': {'G': <UnitMass.G: 'g'>, 'KG': <UnitMass.KG: 'kg'>, 'LB': <UnitMass.LB: 'lb'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'g': <UnitMass.G: 'g'>, 'kg': <UnitMass.KG: 'kg'>, 'lb': <UnitMass.LB: 'lb'>}, 'G': <UnitMass.G: 'g'>, 'KG': <UnitMass.KG: 'kg'>, 'LB': <UnitMass.LB: 'lb'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]