kittycad.models.unit_radiation_format.UnitRadiationFormat

class kittycad.models.unit_radiation_format.UnitRadiationFormat(value)[source][source]

Bases: str, enum.Enum

The valid types of radiation unit formats. These describe the radiation energy absorbed by a mass or material and/or how it affects the relative damage to the human body.

__init__()[source]

Attributes

GRAY

//en.wikipedia.org/wiki/Sievert>

SIEVERT

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

RAD

GRAY = 'gray'[source]

//en.wikipedia.org/wiki/Sievert>

Type

# <https

RAD = 'rad'[source]
SIEVERT = 'sievert'[source]

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

Type

# <https

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_radiation_format', '__doc__': 'The valid types of radiation unit formats. These describe the radiation energy absorbed by a mass or material and/or how it affects the relative damage to the human body.', '__str__': <function UnitRadiationFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitRadiationFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitRadiationFormat' objects>, '_member_names_': ['GRAY', 'SIEVERT', 'RAD'], '_member_map_': {'GRAY': <UnitRadiationFormat.GRAY: 'gray'>, 'SIEVERT': <UnitRadiationFormat.SIEVERT: 'sievert'>, 'RAD': <UnitRadiationFormat.RAD: 'rad'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'gray': <UnitRadiationFormat.GRAY: 'gray'>, 'sievert': <UnitRadiationFormat.SIEVERT: 'sievert'>, 'rad': <UnitRadiationFormat.RAD: 'rad'>}, 'GRAY': <UnitRadiationFormat.GRAY: 'gray'>, 'SIEVERT': <UnitRadiationFormat.SIEVERT: 'sievert'>, 'RAD': <UnitRadiationFormat.RAD: 'rad'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.unit_radiation_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_ = {'GRAY': UnitRadiationFormat.GRAY, 'RAD': UnitRadiationFormat.RAD, 'SIEVERT': UnitRadiationFormat.SIEVERT}[source]
_member_names_ = ['GRAY', 'SIEVERT', 'RAD'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'gray': UnitRadiationFormat.GRAY, 'rad': UnitRadiationFormat.RAD, 'sievert': UnitRadiationFormat.SIEVERT}[source]