-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub as source #61
GitHub as source #61
Conversation
docs/supported-sources/github.md
Outdated
|
||
This is a sample command that will copy the data from the GitHub source to DuckDB. | ||
|
||
<img alt="athena_img" src="../media/github.png" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this says athena, I guess not?
ingestr/src/factory.py
Outdated
elif self.source_scheme == "github": | ||
return GitHubSource() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to rebase this
ingestr/src/sources.py
Outdated
repo = source_fields.get("repo") | ||
if not repo: | ||
raise ValueError( | ||
"repo: name of the repository is required to connect with GitHub" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"repo: name of the repository is required to connect with GitHub" | |
"repo variable is required to fetch the data for a specific repository from GitHub" |
ingestr/src/sources.py
Outdated
) | ||
else: | ||
raise ValueError( | ||
"fResource '{table}' is not supported for GitHub source yet, if you are interested in it please create a GitHub issue at https://github.com/bruin-data/ingestr" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"fResource '{table}' is not supported for GitHub source yet, if you are interested in it please create a GitHub issue at https://github.com/bruin-data/ingestr" | |
f"Resource '{table}' is not supported for GitHub source yet, if you are interested in it please create a GitHub issue at https://github.com/bruin-data/ingestr" |
Below changes are made in this PR: