Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created November 7, 2022 05:01
Show Gist options
  • Save anna-geller/e00b328e29c010cc05d22a3392ae8087 to your computer and use it in GitHub Desktop.
Save anna-geller/e00b328e29c010cc05d22a3392ae8087 to your computer and use it in GitHub Desktop.
from dotenv import load_dotenv
import os
from prefect.filesystems import GitHub
load_dotenv()
gh_dbt_jaffle_shop = GitHub(
repository="https://github.com/anna-geller/dbt-jaffle-shop.git",
reference="main",
access_token=os.environ.get("GITHUB_PERSONAL_ACCESS_TOKEN", "dummy"),
)
gh_dbt_jaffle_shop.save("dbt-jaffle-shop", overwrite=True)
gh_dbt_attribution = GitHub(
repository="https://github.com/anna-geller/dbt-attribution.git",
reference="main",
access_token=os.environ.get("GITHUB_PERSONAL_ACCESS_TOKEN", "dummy"),
)
gh_dbt_attribution.save("dbt-attribution", overwrite=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment