Conversation
tswast
left a comment
There was a problem hiding this comment.
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
| 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.
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.
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
No description provided.