Files
kittycad.py/kittycad/models/unit_torque.py
Jess Frazelle 74f5be43fa Update api spec (#97)
* YOYO NEW API SPEC!

* updates

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

* attempt fix

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

* fix

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

* fix

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

* fix

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-05-26 12:31:24 -07:00

14 lines
415 B
Python

from enum import Enum
class UnitTorque(str, Enum):
"""The valid types of torque units.""" # noqa: E501
"""# Newton metres <https://en.wikipedia.org/wiki/Newton_metre> """ # noqa: E501
NEWTON_METRES = "newton_metres"
"""# Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)> """ # noqa: E501
POUND_FOOT = "pound_foot"
def __str__(self) -> str:
return str(self.value)