add more types

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-02-27 19:58:57 -08:00
parent 32479cfe2a
commit a99251b3b7
7 changed files with 315 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from enum import Enum
class ServerEnv(str, Enum):
PRODUCTION = 'production'
DEVELOPMENT = 'development'
PREVIEW = 'preview'
def __str__(self) -> str:
return str(self.value)