chore(api/configs): apply ruff reformat (#7590)

This commit is contained in:
Bowen Liang
2024-08-23 23:46:01 +08:00
committed by GitHub
parent 3ace01cfb3
commit 2da63654e5
31 changed files with 388 additions and 385 deletions

View File

@@ -6,27 +6,28 @@ class DeploymentConfig(BaseSettings):
"""
Deployment configs
"""
APPLICATION_NAME: str = Field(
description='application name',
default='langgenius/dify',
description="application name",
default="langgenius/dify",
)
DEBUG: bool = Field(
description='whether to enable debug mode.',
description="whether to enable debug mode.",
default=False,
)
TESTING: bool = Field(
description='',
description="",
default=False,
)
EDITION: str = Field(
description='deployment edition',
default='SELF_HOSTED',
description="deployment edition",
default="SELF_HOSTED",
)
DEPLOY_ENV: str = Field(
description='deployment environment, default to PRODUCTION.',
default='PRODUCTION',
description="deployment environment, default to PRODUCTION.",
default="PRODUCTION",
)