diff --git a/robyn/scaffold/simple/postgres/app.py b/robyn/scaffold/simple/postgres/app.py index 499c0d9a8..8c1362335 100644 --- a/robyn/scaffold/simple/postgres/app.py +++ b/robyn/scaffold/simple/postgres/app.py @@ -8,9 +8,7 @@ DB_PASS = "password" DB_PORT = "5455" -conn = psycopg2.connect( - database=DB_NAME, host=DB_HOST, user=DB_USER, password=DB_PASS, port=DB_PORT -) +conn = psycopg2.connect(database=DB_NAME, host=DB_HOST, user=DB_USER, password=DB_PASS, port=DB_PORT) app = Robyn(__file__) diff --git a/robyn/scaffold/structured/sqlalchemy/migrations/env.py b/robyn/scaffold/structured/sqlalchemy/migrations/env.py index 25168758b..081d4c80f 100644 --- a/robyn/scaffold/structured/sqlalchemy/migrations/env.py +++ b/robyn/scaffold/structured/sqlalchemy/migrations/env.py @@ -62,9 +62,7 @@ def run_migrations_online() -> None: Session = sessionmaker(bind=engine) with Session() as session: - context.configure( - connection=session.connection(), target_metadata=target_metadata - ) + context.configure(connection=session.connection(), target_metadata=target_metadata) with context.begin_transaction(): context.run_migrations()