From c4387b307f8f3502fb53ae1f7e1144f6284280a4 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 12 Aug 2020 16:28:40 -0400 Subject: [PATCH] feat: pass 'client_options' to super ctor (#61) Closes #55 --- google/cloud/logging/client.py | 5 ++++- setup.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/google/cloud/logging/client.py b/google/cloud/logging/client.py index 680c29c8..0997d21a 100644 --- a/google/cloud/logging/client.py +++ b/google/cloud/logging/client.py @@ -124,7 +124,10 @@ def __init__( client_options=None, ): super(Client, self).__init__( - project=project, credentials=credentials, _http=_http + project=project, + credentials=credentials, + _http=_http, + client_options=client_options, ) kw_args = {"client_info": client_info} diff --git a/setup.py b/setup.py index 42d4eee5..776c30b3 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ release_status = 'Development Status :: 5 - Production/Stable' dependencies = [ "google-api-core[grpc] >= 1.15.0, < 2.0.0dev", - "google-cloud-core >= 1.1.0, < 2.0dev", + "google-cloud-core >= 1.4.1, < 2.0dev", ] extras = { }