Created
November 7, 2022 05:01
-
-
Save anna-geller/e00b328e29c010cc05d22a3392ae8087 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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