Files
kittycad.py/kittycad/models/unit_mass.py
Jess Frazelle 4c3f497d73 Fixes (#115)
* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 12:50:30 -07:00

16 lines
436 B
Python

from enum import Enum
class UnitMass(str, Enum):
"""The valid types of mass units.""" # noqa: E501
"""# Grams <https://en.wikipedia.org/wiki/Gram> """ # noqa: E501
G = "g"
"""# Kilograms <https://en.wikipedia.org/wiki/Kilogram> """ # noqa: E501
KG = "kg"
"""# Pounds <https://en.wikipedia.org/wiki/Pound_(mass)> """ # noqa: E501
LB = "lb"
def __str__(self) -> str:
return str(self.value)