Exemple #1
0
def main():
    global db_pool
    db_pool = ConnectionPool('psycopg2', **db_config)
    yield db_pool.start()