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
commit 2da63654e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 388 additions and 385 deletions

View file

@ -25,11 +25,11 @@ class DifyConfig(
):
model_config = SettingsConfigDict(
# read from dotenv format config file
env_file='.env',
env_file_encoding='utf-8',
env_file=".env",
env_file_encoding="utf-8",
frozen=True,
# ignore extra attributes
extra='ignore',
extra="ignore",
)
# Before adding any config,