kittycad.models.unit_charge_format.UnitChargeFormat

class kittycad.models.unit_charge_format.UnitChargeFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of charge unit formats.

__init__()[source]

Attributes

COULOMB

//en.wikipedia.org/wiki/Ampere_hour>

AMPERE_HOUR

AMPERE_HOUR = 'ampere_hour'[source]
COULOMB = 'coulomb'[source]

//en.wikipedia.org/wiki/Ampere_hour>

Type

# <https

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_charge_format', '__doc__': 'The valid types of charge unit formats.', '__str__': <function UnitChargeFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitChargeFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitChargeFormat' objects>, '_member_names_': ['COULOMB', 'AMPERE_HOUR'], '_member_map_': {'COULOMB': <UnitChargeFormat.COULOMB: 'coulomb'>, 'AMPERE_HOUR': <UnitChargeFormat.AMPERE_HOUR: 'ampere_hour'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'coulomb': <UnitChargeFormat.COULOMB: 'coulomb'>, 'ampere_hour': <UnitChargeFormat.AMPERE_HOUR: 'ampere_hour'>}, 'COULOMB': <UnitChargeFormat.COULOMB: 'coulomb'>, 'AMPERE_HOUR': <UnitChargeFormat.AMPERE_HOUR: 'ampere_hour'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_charge_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_ = {'AMPERE_HOUR': UnitChargeFormat.AMPERE_HOUR, 'COULOMB': UnitChargeFormat.COULOMB}[source]
_member_names_ = ['COULOMB', 'AMPERE_HOUR'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'ampere_hour': UnitChargeFormat.AMPERE_HOUR, 'coulomb': UnitChargeFormat.COULOMB}[source]