From 0478f4f482f1b2c13fbb9f592ce57330c107dcef Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Fri, 26 Jan 2018 10:40:11 -0800 Subject: [PATCH] Upgrade to 0.29.0 of google-cloud-bigquery --- pandas_gbq/gbq.py | 5 ++--- setup.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pandas_gbq/gbq.py b/pandas_gbq/gbq.py index 67d5ea51..514afa4a 100644 --- a/pandas_gbq/gbq.py +++ b/pandas_gbq/gbq.py @@ -21,9 +21,8 @@ def _check_google_client_version(): except ImportError: raise ImportError('Could not import pkg_resources (setuptools).') - # Version 0.28.0 includes many changes compared to previous versions # https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/bigquery/CHANGELOG.md - bigquery_client_minimum_version = '0.28.0' + bigquery_client_minimum_version = '0.29.0' _BIGQUERY_CLIENT_VERSION = pkg_resources.get_distribution( 'google-cloud-bigquery').version @@ -1241,7 +1240,7 @@ def tables(self, dataset_id): table_list = [] try: - table_response = self.client.list_dataset_tables( + table_response = self.client.list_tables( self.client.dataset(dataset_id)) for row in table_response: diff --git a/setup.py b/setup.py index 86a40c5e..3aa4b170 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def readme(): 'pandas', 'google-auth>=1.0.0', 'google-auth-oauthlib>=0.0.1', - 'google-cloud-bigquery>=0.28.0', + 'google-cloud-bigquery>=0.29.0', ]