import psycopg as pg g_conn_dict : dict[str, pg.Connection] = {}