-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: add bigquery-magics samples #9
Conversation
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.
The samples need to be one directory deeper. Could you please make a samples/bigquery
folder for the %%bigquery
code samples?
Looking at #6, the recommended folder name is |
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
9db0a67
to
f2e4f34
Compare
bigquery_magics/bigquery.py
Outdated
@@ -97,7 +97,7 @@ | |||
from google.api_core import client_info | |||
from google.api_core.exceptions import NotFound | |||
from google.cloud import bigquery | |||
from google.cloud.bigquery import exceptions | |||
from google.cloud.bigquery import _versions_helpers, exceptions |
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.
Please don't.
That's a private module. Let's use the one we copied to this repo, instead.
samples/snippets/requirements.txt
Outdated
db-dtypes==1.2.0 | ||
google.cloud.bigquery==3.19.0 | ||
google-cloud-bigquery-storage==2.24.0 | ||
ipython===7.31.1; python_version == '3.7' | ||
ipython===8.0.1; python_version == '3.8' | ||
ipython===8.18.1; python_version >= '3.9' | ||
pandas==1.3.5; python_version == '3.7' | ||
pandas==2.0.0; python_version == '3.8' | ||
pandas==2.2.1; python_version >= '3.9' |
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.
Ideally this will just be bigquery_magics
with no extra dependencies. See this comment: https://github.com/googleapis/python-bigquery/blob/bf8861c3473a1af978db7a06463ddc0bad86f326/samples/snippets/requirements.txt#L1
d3a899e
to
4d12f97
Compare
* chore: copy magics unit tests from google-cloud-bigquery * update tests to use bigquery_magics module * remove auth from unit tests * fix coverage
* chore: copy magics unit tests from google-cloud-bigquery * update tests to use bigquery_magics module * remove auth from unit tests * fix coverage
d012645
to
d4fd1ae
Compare
c6aca5f
to
1105998
Compare
0ae053e
to
1d21466
Compare
87ab992
to
2be7369
Compare
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.
Thanks!
No description provided.