taolib.testing.config_center.server.config#

应用配置模块。

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

Attributes#

Classes#

Settings

应用设置。

Module Contents#

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

Bases: pydantic_settings.BaseSettings

应用设置。

mongo_url: str#
mongo_db: str#
redis_url: str#
jwt_secret: str#
jwt_algorithm: str#
access_token_expire_minutes: int#
refresh_token_expire_days: int#
host: str#
port: int#
debug: bool#
cors_origins: list[str]#
push_heartbeat_interval: int#
push_heartbeat_timeout: int#
push_ack_timeout: int#
push_max_retries: int#
push_buffer_max_size: int#
push_buffer_ttl: int#
push_instance_id: str#
_validate_secrets() Self#
model_config#
taolib.testing.config_center.server.config.settings#