Apply Black formatter to the entire codebase for consistent code style. Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
27 lines
499 B
Python
27 lines
499 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
默认配置值
|
|
|
|
定义所有配置项的默认值,从环境变量加载。
|
|
"""
|
|
|
|
from config.schema import (
|
|
ERPConfig,
|
|
DatabaseConfig,
|
|
PathConfig,
|
|
ExtractionConfig,
|
|
ValidationConfig,
|
|
AppConfig,
|
|
SQLServerConfig,
|
|
MySQLConfig,
|
|
DatabaseType,
|
|
)
|
|
|
|
# 默认配置 - 从环境变量加载
|
|
DEFAULT_APP_CONFIG = AppConfig.from_env()
|
|
|
|
|
|
# 兼容旧版本的字典格式
|
|
DEFAULT_SETTINGS_DICT = DEFAULT_APP_CONFIG.to_dict()
|