Skip to content

Make synchronous query snippets testable#1836

Merged
tseaver merged 5 commits intogoogleapis:masterfrom
tseaver:bigquery-testable_sync_query_snippets
Jul 14, 2016
Merged

Make synchronous query snippets testable#1836
tseaver merged 5 commits intogoogleapis:masterfrom
tseaver:bigquery-testable_sync_query_snippets

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented May 31, 2016

Uses #1833 as a base.

@tseaver tseaver added docs testing api: bigquery Issues related to the BigQuery API. labels May 31, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 31, 2016
@tseaver
Copy link
Contributor Author

tseaver commented Jul 13, 2016

Rebased after merging #1833 to master.

>>> from gcloud import bigquery
>>> client = bigquery.Client()


This comment was marked as spam.

This comment was marked as spam.

@daspecster
Copy link
Contributor

Can we squash this before merging?


@snippet
def client_list_datasets(client, to_delete): # pylint: disable=unused-argument
def client_list_datasets(client, _):

This comment was marked as spam.

@daspecster
Copy link
Contributor

LGTM, I would still squash but whatever you think.

@tseaver
Copy link
Contributor Author

tseaver commented Jul 14, 2016

@daspecster I rebased away the first two net-noop commits. I will merge when Travis passes.

@tseaver tseaver merged commit 167a911 into googleapis:master Jul 14, 2016
@tseaver tseaver deleted the bigquery-testable_sync_query_snippets branch July 14, 2016 14:56
This was referenced Aug 3, 2016
parthea pushed a commit that referenced this pull request Mar 6, 2026
)

* fix: update error logging when converting to pyarrow column fails

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* resolve merge conflict

* resolve missing dependency

* more tweaks to constraints and requirements re pyarrow

* even more tweaks to constraints and requirements re pyarrow

* a few more tweaks to constraints and requirements re pyarrow

* resolves issue of pyarrow not installing

* fix linting issue

* update linting and conditionals

* update linting and mypy comments

* quick tags on several coverage issues related to imports

* adds pragma to exception

* updates test suite with new test and makes msg explicit

* temporarily adding timing code

* additional timing test mods

* add pragmas to account for several tests

* cleaned up some test code

* cleaned up some test code

* Update a test to include column datatype

* update to pytest.raises command

* Update tests/unit/test__pandas_helpers.py

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* removed unused variable 'e'

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants