Files
kittycad.py/kittycad/models/unit_angle.py
Jess Frazelle 12c164620b updates
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-09-29 16:05:40 -07:00

13 lines
351 B
Python

from enum import Enum
class UnitAngle(str, Enum):
""" The valid types of angle formats. """ # noqa: E501
"""# Degrees <https://en.wikipedia.org/wiki/Degree_(angle)> """ # noqa: E501
DEGREES = 'degrees'
"""# Radians <https://en.wikipedia.org/wiki/Radian> """ # noqa: E501
RADIANS = 'radians'
def __str__(self) -> str:
return str(self.value)