kittycad.models.unit_current

Classes

UnitCurrent(value)

The valid types of current units.

class kittycad.models.unit_current.UnitCurrent(value)[source][source]

The valid types of current units.

AMPERES = 'amperes'[source]

//en.wikipedia.org/wiki/Microampere>

Type:

# Microamperes <https

MICROAMPERES = 'microamperes'[source]

//en.wikipedia.org/wiki/Milliampere>

Type:

# Milliamperes <https

MILLIAMPERES = 'milliamperes'[source]

//en.wikipedia.org/wiki/Nanoampere>

Type:

# Nanoamperes <https

NANOAMPERES = 'nanoamperes'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_current', '__doc__': 'The valid types of current units.', '__str__': <function UnitCurrent.__str__>, '__dict__': <attribute '__dict__' of 'UnitCurrent' objects>, '__weakref__': <attribute '__weakref__' of 'UnitCurrent' objects>, '_member_names_': ['AMPERES', 'MICROAMPERES', 'MILLIAMPERES', 'NANOAMPERES'], '_member_map_': {'AMPERES': <UnitCurrent.AMPERES: 'amperes'>, 'MICROAMPERES': <UnitCurrent.MICROAMPERES: 'microamperes'>, 'MILLIAMPERES': <UnitCurrent.MILLIAMPERES: 'milliamperes'>, 'NANOAMPERES': <UnitCurrent.NANOAMPERES: 'nanoamperes'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'amperes': <UnitCurrent.AMPERES: 'amperes'>, 'microamperes': <UnitCurrent.MICROAMPERES: 'microamperes'>, 'milliamperes': <UnitCurrent.MILLIAMPERES: 'milliamperes'>, 'nanoamperes': <UnitCurrent.NANOAMPERES: 'nanoamperes'>}, 'AMPERES': <UnitCurrent.AMPERES: 'amperes'>, 'MICROAMPERES': <UnitCurrent.MICROAMPERES: 'microamperes'>, 'MILLIAMPERES': <UnitCurrent.MILLIAMPERES: 'milliamperes'>, 'NANOAMPERES': <UnitCurrent.NANOAMPERES: 'nanoamperes'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_current'[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_ = {'AMPERES': UnitCurrent.AMPERES, 'MICROAMPERES': UnitCurrent.MICROAMPERES, 'MILLIAMPERES': UnitCurrent.MILLIAMPERES, 'NANOAMPERES': UnitCurrent.NANOAMPERES}[source]
_member_names_ = ['AMPERES', 'MICROAMPERES', 'MILLIAMPERES', 'NANOAMPERES'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'amperes': UnitCurrent.AMPERES, 'microamperes': UnitCurrent.MICROAMPERES, 'milliamperes': UnitCurrent.MILLIAMPERES, 'nanoamperes': UnitCurrent.NANOAMPERES}[source]