⬆ Upgrade code to support pydantic V2 (#615)

This commit is contained in:
Esteban Maya
2024-02-28 17:24:24 -05:00
committed by GitHub
parent 2346b81c51
commit 08395759fe
7 changed files with 47 additions and 40 deletions

View File

@@ -2,4 +2,4 @@ from sqlmodel import create_engine
from app.core.config import settings
engine = create_engine(settings.SQLALCHEMY_DATABASE_URI)
engine = create_engine(str(settings.SQLALCHEMY_DATABASE_URI))