mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
migrate to pydantic 2
This commit is contained in:
@@ -10,7 +10,7 @@ global_settings = config.get_settings()
|
||||
logger = AppLogger.__call__().get_logger()
|
||||
|
||||
engine = create_async_engine(
|
||||
global_settings.asyncpg_url,
|
||||
global_settings.asyncpg_url.unicode_string(),
|
||||
future=True,
|
||||
echo=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user