- Fixed a bug that didn't let any function receive connection objects - Added uvicorn logging level to config
8 lines
110 B
Python
8 lines
110 B
Python
import psycopg2
|
|
|
|
|
|
class DataBase:
|
|
connection: psycopg2._psycopg.connection | None = None
|
|
|
|
db = DataBase()
|