kittycad.models.unit_concentration_format.UnitConcentrationFormat
- class kittycad.models.unit_concentration_format.UnitConcentrationFormat(value)[source][source]
-
The valid types of concentration unit formats.
Attributes
//en.wikipedia.org/wiki/Parts-per_notation>
//en.wikipedia.org/wiki/Parts-per_notation>
//en.wikipedia.org/wiki/Percentage>
- PARTS_PER_BILLION = 'parts_per_billion'[source]
//en.wikipedia.org/wiki/Parts-per_notation>
- Type
# Per Trillion - <https
- PARTS_PER_MILLION = 'parts_per_million'[source]
//en.wikipedia.org/wiki/Parts-per_notation>
- Type
# Per Billion - <https
- PARTS_PER_TRILLION = 'parts_per_trillion'[source]
//en.wikipedia.org/wiki/Percentage>
- Type
# <https
- Type
//en.wikipedia.org/wiki/Concentration>, <https
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.unit_concentration_format', '__doc__': 'The valid types of concentration unit formats.', '__str__': <function UnitConcentrationFormat.__str__>, '__dict__': <attribute '__dict__' of 'UnitConcentrationFormat' objects>, '__weakref__': <attribute '__weakref__' of 'UnitConcentrationFormat' objects>, '_member_names_': ['PARTS_PER_MILLION', 'PARTS_PER_BILLION', 'PARTS_PER_TRILLION', 'PERCENT'], '_member_map_': {'PARTS_PER_MILLION': <UnitConcentrationFormat.PARTS_PER_MILLION: 'parts_per_million'>, 'PARTS_PER_BILLION': <UnitConcentrationFormat.PARTS_PER_BILLION: 'parts_per_billion'>, 'PARTS_PER_TRILLION': <UnitConcentrationFormat.PARTS_PER_TRILLION: 'parts_per_trillion'>, 'PERCENT': <UnitConcentrationFormat.PERCENT: 'percent'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'parts_per_million': <UnitConcentrationFormat.PARTS_PER_MILLION: 'parts_per_million'>, 'parts_per_billion': <UnitConcentrationFormat.PARTS_PER_BILLION: 'parts_per_billion'>, 'parts_per_trillion': <UnitConcentrationFormat.PARTS_PER_TRILLION: 'parts_per_trillion'>, 'percent': <UnitConcentrationFormat.PERCENT: 'percent'>}, 'PARTS_PER_MILLION': <UnitConcentrationFormat.PARTS_PER_MILLION: 'parts_per_million'>, 'PARTS_PER_BILLION': <UnitConcentrationFormat.PARTS_PER_BILLION: 'parts_per_billion'>, 'PARTS_PER_TRILLION': <UnitConcentrationFormat.PARTS_PER_TRILLION: 'parts_per_trillion'>, 'PERCENT': <UnitConcentrationFormat.PERCENT: 'percent'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[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_ = {'PARTS_PER_BILLION': UnitConcentrationFormat.PARTS_PER_BILLION, 'PARTS_PER_MILLION': UnitConcentrationFormat.PARTS_PER_MILLION, 'PARTS_PER_TRILLION': UnitConcentrationFormat.PARTS_PER_TRILLION, 'PERCENT': UnitConcentrationFormat.PERCENT}[source]