migrate to pydantic 2

This commit is contained in:
Jakub Miazek
2023-07-07 20:32:41 +02:00
parent d07fb04553
commit d05f2cdb2e
8 changed files with 17 additions and 23 deletions

View File

@@ -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,
)