From 478597a38167fa57b60ae7f65b581f3fe75ddc7c Mon Sep 17 00:00:00 2001 From: HemangChothani <50404902+HemangChothani@users.noreply.github.com> Date: Fri, 14 Aug 2020 10:24:19 +0530 Subject: [PATCH] feat(bigquery): add client_options to base class (#216) * feat(bigquery): add client_options to base class * chore: bump g-c-c to 1.4.1 --- google/cloud/bigquery/client.py | 5 ++++- setup.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/google/cloud/bigquery/client.py b/google/cloud/bigquery/client.py index 651f0263e..52ddffe7d 100644 --- a/google/cloud/bigquery/client.py +++ b/google/cloud/bigquery/client.py @@ -177,7 +177,10 @@ def __init__( client_options=None, ): super(Client, self).__init__( - project=project, credentials=credentials, _http=_http + project=project, + credentials=credentials, + client_options=client_options, + _http=_http, ) kw_args = {"client_info": client_info} diff --git a/setup.py b/setup.py index b00b2cbe5..fe6143557 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ dependencies = [ 'enum34; python_version < "3.4"', "google-api-core >= 1.21.0, < 2.0dev", - "google-cloud-core >= 1.1.0, < 2.0dev", + "google-cloud-core >= 1.4.1, < 2.0dev", "google-resumable-media >= 0.5.0, < 2.0dev", "six >=1.13.0,< 2.0.0dev", ]