|
from pydantic_settings import SettingsConfigDict |
|
|
|
from configs.deploy import DeploymentConfig |
|
from configs.enterprise import EnterpriseFeatureConfig |
|
from configs.extra import ExtraServiceConfig |
|
from configs.feature import FeatureConfig |
|
from configs.middleware import MiddlewareConfig |
|
from configs.packaging import PackagingInfo |
|
|
|
|
|
class DifyConfig( |
|
|
|
PackagingInfo, |
|
|
|
DeploymentConfig, |
|
|
|
FeatureConfig, |
|
|
|
MiddlewareConfig, |
|
|
|
ExtraServiceConfig, |
|
|
|
|
|
EnterpriseFeatureConfig, |
|
): |
|
model_config = SettingsConfigDict( |
|
|
|
env_file=".env", |
|
env_file_encoding="utf-8", |
|
frozen=True, |
|
|
|
extra="ignore", |
|
) |
|
|
|
|
|
|
|
|
|
|
|
|