Files
kittycad.py/kittycad/models/gltf_presentation.py
Jess Frazelle 8162fa1964 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>
2023-08-30 15:59:51 -07:00

16 lines
429 B
Python

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)