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>
This commit is contained in:
13
kittycad/models/unit_angle.py
Normal file
13
kittycad/models/unit_angle.py
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
Reference in New Issue
Block a user