* YOYO NEW API SPEC! * update 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>
16 lines
529 B
Python
16 lines
529 B
Python
from enum import Enum
|
|
|
|
|
|
class Environment(str, Enum):
|
|
"""The environment the server is running in.""" # noqa: E501
|
|
|
|
"""# The development environment. This is for running locally. """ # noqa: E501
|
|
DEVELOPMENT = "DEVELOPMENT"
|
|
"""# The preview environment. This is when PRs are created and a service is deployed for testing. """ # noqa: E501
|
|
PREVIEW = "PREVIEW"
|
|
"""# The production environment. """ # noqa: E501
|
|
PRODUCTION = "PRODUCTION"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|