Files
kittycad.py/kittycad/models/unit_mass_format.py

18 lines
345 B
Python
Raw Normal View History

2022-07-25 22:46:48 +00:00
from enum import Enum
class UnitMassFormat(str, Enum):
GRAM = 'gram'
METRIC_TON = 'metric_ton'
POUND = 'pound'
LONG_TON = 'long_ton'
SHORT_TON = 'short_ton'
STONE = 'stone'
OUNCE = 'ounce'
CARAT = 'carat'
SLUG = 'slug'
2022-09-29 21:52:21 +00:00
KILOGRAM = 'kilogram'
2022-07-25 22:46:48 +00:00
def __str__(self) -> str:
return str(self.value)