kittycad.models.unit_temperature.UnitTemperature

class kittycad.models.unit_temperature.UnitTemperature(value)[source][source]

Bases: str, Enum

The valid types of temperature units.

__init__()[source]

Attributes

CELSIUS

//en.wikipedia.org/wiki/Fahrenheit>

FAHRENHEIT

//en.wikipedia.org/wiki/Kelvin>

KELVIN

//en.wikipedia.org/wiki/Rankine_scale>

RANKINE

CELSIUS = 'celsius'[source]

//en.wikipedia.org/wiki/Fahrenheit>

Type:

# Fahrenheit <https

FAHRENHEIT = 'fahrenheit'[source]

//en.wikipedia.org/wiki/Kelvin>

Type:

# Kelvin <https

KELVIN = 'kelvin'[source]

//en.wikipedia.org/wiki/Rankine_scale>

Type:

# Rankine <https

RANKINE = 'rankine'[source]
__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_temperature', '__doc__': 'The valid types of temperature units.', '__str__': <function UnitTemperature.__str__>, '__dict__': <attribute '__dict__' of 'UnitTemperature' objects>, '__weakref__': <attribute '__weakref__' of 'UnitTemperature' objects>, '_member_names_': ['CELSIUS', 'FAHRENHEIT', 'KELVIN', 'RANKINE'], '_member_map_': {'CELSIUS': <UnitTemperature.CELSIUS: 'celsius'>, 'FAHRENHEIT': <UnitTemperature.FAHRENHEIT: 'fahrenheit'>, 'KELVIN': <UnitTemperature.KELVIN: 'kelvin'>, 'RANKINE': <UnitTemperature.RANKINE: 'rankine'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'celsius': <UnitTemperature.CELSIUS: 'celsius'>, 'fahrenheit': <UnitTemperature.FAHRENHEIT: 'fahrenheit'>, 'kelvin': <UnitTemperature.KELVIN: 'kelvin'>, 'rankine': <UnitTemperature.RANKINE: 'rankine'>}, 'CELSIUS': <UnitTemperature.CELSIUS: 'celsius'>, 'FAHRENHEIT': <UnitTemperature.FAHRENHEIT: 'fahrenheit'>, 'KELVIN': <UnitTemperature.KELVIN: 'kelvin'>, 'RANKINE': <UnitTemperature.RANKINE: 'rankine'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_temperature'[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_ = {'CELSIUS': UnitTemperature.CELSIUS, 'FAHRENHEIT': UnitTemperature.FAHRENHEIT, 'KELVIN': UnitTemperature.KELVIN, 'RANKINE': UnitTemperature.RANKINE}[source]
_member_names_ = ['CELSIUS', 'FAHRENHEIT', 'KELVIN', 'RANKINE'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'celsius': UnitTemperature.CELSIUS, 'fahrenheit': UnitTemperature.FAHRENHEIT, 'kelvin': UnitTemperature.KELVIN, 'rankine': UnitTemperature.RANKINE}[source]