mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-04 11:14:10 +08:00
17 lines
355 B
Python
17 lines
355 B
Python
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',
|
|
)
|