Trying to find fix

This commit is contained in:
2023-03-11 12:46:03 +00:00
parent 7f4785eec2
commit 1cd3003bcb

View File

@@ -16,7 +16,7 @@ def _custom_json_serializer(*args, **kwargs) -> str:
"""
return json.dumps(*args, default=pydantic.json.pydantic_encoder, **kwargs)
print(settings.DB_USE_SQLITE)
# check if the engine must be created for the tests -> in memory sqlite
if settings.TEST_MODE:
engine = create_async_engine(