Content-Length: 361098 | pFad | http://github.com/googleapis/google-cloud-python/commit/92b04c1544284e380c561710e68911c38f03896a

7F Allow kwargs to be passed to create_channel (via synth). (#8386) · googleapis/google-cloud-python@92b04c1 · GitHub
Skip to content

Commit 92b04c1

Browse files
yoshi-automationbusunkim96
authored andcommitted
Allow kwargs to be passed to create_channel (via synth). (#8386)
1 parent 8c878ee commit 92b04c1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

packages/google-cloud-datalabeling/google/cloud/datalabeling_v1beta1/gapic/transports/data_labeling_service_grpc_transport.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(
8080

8181
@classmethod
8282
def create_channel(
83-
cls, address="datalabeling.googleapis.com:443", credentials=None
83+
cls, address="datalabeling.googleapis.com:443", credentials=None, **kwargs
8484
):
8585
"""Create and return a gRPC channel object.
8686
@@ -91,12 +91,14 @@ def create_channel(
9191
credentials identify this application to the service. If
9292
none are specified, the client will attempt to ascertain
9393
the credentials from the environment.
94+
kwargs (dict): Keyword arguments, which are passed to the
95+
channel creation.
9496
9597
Returns:
9698
grpc.Channel: A gRPC channel object.
9799
"""
98100
return google.api_core.grpc_helpers.create_channel(
99-
address, credentials=credentials, scopes=cls._OAUTH_SCOPES
101+
address, credentials=credentials, scopes=cls._OAUTH_SCOPES, **kwargs
100102
)
101103

102104
@property

packages/google-cloud-datalabeling/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-06-15T12:15:14.161675Z",
2+
"updateTime": "2019-06-18T12:14:25.182261Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.26.0",
8-
"dockerImage": "googleapis/artman@sha256:6db0735b0d3beec5b887153a2a7c7411fc7bb53f73f6f389a822096bd14a3a15"
7+
"version": "0.27.0",
8+
"dockerImage": "googleapis/artman@sha256:b036a7f4278d9deb5796f065e5c7f608d47d75369985ca7ab5039998120e972d"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "7b58b37559f6a5337c4c564518e9573d742df225",
16-
"internalRef": "253322136"
15+
"sha": "384aa843867c4d17756d14a01f047b6368494d32",
16+
"internalRef": "253675319"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/92b04c1544284e380c561710e68911c38f03896a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy