Skip to content

Instantly share code, notes, and snippets.

@jingningzhang1
Created June 24, 2022 01:02
Show Gist options
  • Save jingningzhang1/a5ac70a84decf18013a8e215a43ae4e0 to your computer and use it in GitHub Desktop.
Save jingningzhang1/a5ac70a84decf18013a8e215a43ae4e0 to your computer and use it in GitHub Desktop.
## Set up SQL Alchemy engine
engine = create_engine(
f"databricks+connector://token:{token}@{host_name}:443/{database}",
connect_args={
"http_path": http_path,
},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment