Files
kittycad.py/kittycad/models/unit_mass_format.py
Jess Frazelle 95f22c849d Update api spec (#52)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-27 14:50:50 -08:00

18 lines
345 B
Python

from enum import Enum
class UnitMassFormat(str, Enum):
GRAM = 'gram'
KILOGRAM = 'kilogram'
METRIC_TON = 'metric_ton'
POUND = 'pound'
LONG_TON = 'long_ton'
SHORT_TON = 'short_ton'
STONE = 'stone'
OUNCE = 'ounce'
CARAT = 'carat'
SLUG = 'slug'
def __str__(self) -> str:
return str(self.value)