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:
7
src/DBmodel.py
Normal file
7
src/DBmodel.py
Normal file
@ -0,0 +1,7 @@
|
||||
import psycopg2
|
||||
|
||||
|
||||
class DataBase:
|
||||
connection: psycopg2._psycopg.connection | None = None
|
||||
|
||||
db = DataBase()
|
||||
Reference in New Issue
Block a user