taolib.testing.data_sync.server.config#

应用配置模块。

使用 pydantic-settings 定义应用的所有配置项。

Attributes#

Classes#

Settings

应用设置。

Module Contents#

class taolib.testing.data_sync.server.config.Settings#

Bases: pydantic_settings.BaseSettings

应用设置。

model_config#
mongo_url: str#
mongo_db: str#
jwt_secret: str#
jwt_algorithm: str#
host: str#
port: int#
debug: bool#
cors_origins: list[str]#
taolib.testing.data_sync.server.config.settings#