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

13 lines
303 B
Python

from enum import Enum
class ImageFormat(str, Enum):
""" Enum containing the variety of image formats snapshots may be exported to. """ # noqa: E501
"""# .png format """ # noqa: E501
PNG = 'png'
"""# .jpeg format """ # noqa: E501
JPEG = 'jpeg'
def __str__(self) -> str:
return str(self.value)