def main()

in test-runtimes/python/postgres.py [0:0]


def main(args):

    response = {"body": {}}

    with psycopg.connect(args.get("postgres_url")) as conn:

        # Open a cursor to perform database operations
        with conn.cursor() as cur:
            cur.execute("""CREATE SCHEMA IF NOT EXISTS nuvolaris;