refactor: extract hosted service configs into dify config (#5504)
This commit is contained in:
parent
57063095c1
commit
5217f7cf69
3 changed files with 213 additions and 48 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue