Hotfix + config optimization

- Fixed a bug that didn't let any function receive connection objects
- Added uvicorn logging level to config
This commit is contained in:
2025-09-06 01:09:30 +03:00
parent c2dd26c5d3
commit 16eccddb59
7 changed files with 29 additions and 30 deletions

7
src/DBmodel.py Normal file
View File

@ -0,0 +1,7 @@
import psycopg2
class DataBase:
connection: psycopg2._psycopg.connection | None = None
db = DataBase()