@ -2,12 +2,11 @@ from enum import Enum
|
||||
|
||||
|
||||
class ImageFormat(str, Enum):
|
||||
"""Enum containing the variety of image formats snapshots may be exported to.""" # noqa: E501
|
||||
""" 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'
|
||||
|
||||
"""# .png format """ # noqa: E501
|
||||
PNG = "png"
|
||||
"""# .jpeg format """ # noqa: E501
|
||||
JPEG = "jpeg"
|
||||
|
||||
def __str__(self) -> str:
|
||||
return str(self.value)
|
||||
def __str__(self) -> str:
|
||||
return str(self.value)
|
||||
|
Reference in New Issue
Block a user