-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1049 from googleapis/sync-v3
chore: sync v3 with main branch
- Loading branch information
Showing
49 changed files
with
1,287 additions
and
148 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Only run this nox session. | ||
env_vars: { | ||
key: "NOX_SESSION" | ||
value: "snippets-3.10" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
# Only run this nox session. | ||
env_vars: { | ||
key: "NOX_SESSION" | ||
value: "snippets-2.7" | ||
value: "system-3.10" | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
IPython Magics for BigQuery | ||
=========================== | ||
|
||
To use these magics, you must first register them. Run the ``%load_ext`` magic | ||
in a Jupyter notebook cell. | ||
|
||
.. code:: | ||
%load_ext google.cloud.bigquery | ||
This makes the ``%%bigquery`` magic available. | ||
|
||
Code Samples | ||
------------ | ||
|
||
Running a query: | ||
|
||
.. literalinclude:: ./samples/magics/query.py | ||
:dedent: 4 | ||
:start-after: [START bigquery_jupyter_query] | ||
:end-before: [END bigquery_jupyter_query] | ||
|
||
Running a parameterized query: | ||
|
||
.. literalinclude:: ./samples/magics/query_params_scalars.py | ||
:dedent: 4 | ||
:start-after: [START bigquery_jupyter_query_params_scalars] | ||
:end-before: [END bigquery_jupyter_query_params_scalars] | ||
|
||
API Reference | ||
------------- | ||
|
||
.. automodule:: google.cloud.bigquery.magics.magics | ||
:members: |
This file contains 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
This file contains 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
Oops, something went wrong.