dify/api/configs/deploy/__init__.py

17 lines
355 B
Python
Raw Normal View History

from pydantic import BaseModel, Field
class DeploymentConfig(BaseModel):
"""
Deployment configs
"""
EDITION: str = Field(
description='deployment edition',
default='SELF_HOSTED',
)
DEPLOY_ENV: str = Field(
description='deployment environment, default to PRODUCTION.',
default='PRODUCTION',
)