Skip to content

Instantly share code, notes, and snippets.

@Megaprog
Created August 30, 2021 17:35
Show Gist options
  • Save Megaprog/44d6cc5f0cc04d505f385aab9b417f48 to your computer and use it in GitHub Desktop.
Save Megaprog/44d6cc5f0cc04d505f385aab9b417f48 to your computer and use it in GitHub Desktop.
from sqlalchemy import create_engine
engine = create_engine("postgresql://<name>:<password>@postgres-context-slave.spb.play.dc:5433/context", echo=True, connect_args={"options": "-c TimeZone=UTC"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment