refactor: extract hosted service configs into dify config (#5504)

This commit is contained in:
Bowen Liang 2024-06-22 17:41:17 +08:00 • committed by GitHub
commit 5217f7cf69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 213 additions and 48 deletions

View file

@ -2,6 +2,8 @@ from typing import Optional
from pydantic import AliasChoices, BaseModel, Field, NonNegativeInt, PositiveInt
from configs.feature.hosted_service import HostedServiceConfig
class SecurityConfig(BaseModel):
"""
@ -421,5 +423,8 @@ class FeatureConfig(
UpdateConfig,
WorkflowConfig,
WorkspaceConfig,
# hosted services config
HostedServiceConfig,
):
pass