Files
kittycad.py/kittycad/models/unit_temperature_format.py

13 lines
250 B
Python
Raw Normal View History

2022-07-25 22:46:48 +00:00
from enum import Enum
class UnitTemperatureFormat(str, Enum):
KELVIN = 'kelvin'
CELSIUS = 'celsius'
FAHRENHEIT = 'fahrenheit'
REAUMUR = 'reaumur'
RANKINE = 'rankine'
def __str__(self) -> str:
return str(self.value)