feat: introduce pydantic-settings for config definition and validation (#5202)
Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
12
api/configs/extra/__init__.py
Normal file
12
api/configs/extra/__init__.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
from configs.extra.notion_configs import NotionConfigs
|
||||
from configs.extra.sentry_configs import SentryConfigs
|
||||
|
||||
|
||||
class ExtraServiceConfigs(
|
||||
# place the configs in alphabet order
|
||||
NotionConfigs,
|
||||
SentryConfigs,
|
||||
):
|
||||
pass
|
||||
Reference in New Issue
Block a user