in otava/postgres.py [0:0]
def __get_conn(self) -> pg8000.dbapi.Connection:
if self.__conn is None:
self.__conn = pg8000.dbapi.Connection(
host=self.__config.hostname,
port=self.__config.port,
user=self.__config.username,
password=self.__config.password,
database=self.__config.database,
)
return self.__conn