Skip to content

Commit 9d9fcc9

Browse files
committed
Use pydantic_settings for application config
1 parent 294ec63 commit 9d9fcc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
import structlog
66
from opentelemetry import trace
7-
8-
# TODO: update this to use the new V2 pydantic-settings
9-
from pydantic.v1 import BaseSettings
7+
from pydantic_settings import BaseSettings
108
from sqlalchemy_bind_manager import SQLAlchemyAsyncConfig
119
from structlog.typing import Processor
1210

0 commit comments

Comments
 (0)