Update api spec (#127)
* YOYO NEW API SPEC! * bump version Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * some fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes #128 Signed-off-by: Jess Frazelle <github@jessfraz.com> * mypy fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- 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:
15
kittycad/models/gltf_presentation.py
Normal file
15
kittycad/models/gltf_presentation.py
Normal file
@ -0,0 +1,15 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class GltfPresentation(str, Enum):
|
||||
"""Describes the presentation style of the glTF JSON.""" # noqa: E501
|
||||
|
||||
"""# Condense the JSON into the smallest possible size. """ # noqa: E501
|
||||
COMPACT = "compact"
|
||||
"""# Expand the JSON into a more human readable format.
|
||||
|
||||
This is the default setting. """ # noqa: E501
|
||||
PRETTY = "pretty"
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.value)
|
Reference in New Issue
Block a user