kittycad.models.unit_magnetic_flux_format

Classes

UnitMagneticFluxFormat(value)

The valid types of magnetic flux unit formats.

class kittycad.models.unit_magnetic_flux_format.UnitMagneticFluxFormat(value)[source][source]

The valid types of magnetic flux unit formats.

MAXWELL = 'maxwell'[source]
WEBER = 'weber'[source]

//en.wikipedia.org/wiki/Maxwell_(unit)>

Type

# <https

__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_magnetic_flux_format', '__doc__': 'The valid types of magnetic flux unit formats.', '__str__': <function UnitMagneticFluxFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitMagneticFluxFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitMagneticFluxFormat' objects>, '_member_names_': ['WEBER', 'MAXWELL'], '_member_map_': {'WEBER': <UnitMagneticFluxFormat.WEBER: 'weber'>, 'MAXWELL': <UnitMagneticFluxFormat.MAXWELL: 'maxwell'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'weber': <UnitMagneticFluxFormat.WEBER: 'weber'>, 'maxwell': <UnitMagneticFluxFormat.MAXWELL: 'maxwell'>}, 'WEBER': <UnitMagneticFluxFormat.WEBER: 'weber'>, 'MAXWELL': <UnitMagneticFluxFormat.MAXWELL: 'maxwell'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_magnetic_flux_format'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'MAXWELL': UnitMagneticFluxFormat.MAXWELL, 'WEBER': UnitMagneticFluxFormat.WEBER}[source]
_member_names_ = ['WEBER', 'MAXWELL'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'maxwell': UnitMagneticFluxFormat.MAXWELL, 'weber': UnitMagneticFluxFormat.WEBER}[source]