You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/__init__.py
Copy file name to clipboardExpand all lines: packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/grpc.py
+9-1
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,10 @@ def __init__(
162
162
ssl_credentials=ssl_credentials,
163
163
scopes=scopesorself.AUTH_SCOPES,
164
164
quota_project_id=quota_project_id,
165
+
options=[
166
+
("grpc.max_send_message_length", -1),
167
+
("grpc.max_receive_message_length", -1),
168
+
],
165
169
)
166
170
self._ssl_channel_credentials=ssl_credentials
167
171
else:
@@ -180,6 +184,10 @@ def __init__(
180
184
ssl_credentials=ssl_channel_credentials,
181
185
scopes=scopesorself.AUTH_SCOPES,
182
186
quota_project_id=quota_project_id,
187
+
options=[
188
+
("grpc.max_send_message_length", -1),
189
+
("grpc.max_receive_message_length", -1),
190
+
],
183
191
)
184
192
185
193
self._stubs= {} # type: Dict[str, Callable]
@@ -206,7 +214,7 @@ def create_channel(
206
214
) ->grpc.Channel:
207
215
"""Create and return a gRPC channel object.
208
216
Args:
209
-
address (Optionsl[str]): The host for the channel to use.
217
+
address (Optional[str]): The host for the channel to use.
210
218
credentials (Optional[~.Credentials]): The
211
219
authorization credentials to attach to requests. These
212
220
credentials identify this application to the service. If
Copy file name to clipboardExpand all lines: packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/grpc_asyncio.py
0 commit comments