Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a749ef

Browse filesBrowse files
yoshi-automationpull[bot]
authored andcommitted
fix: remove client side recv limits (#65)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * fix: remove client recv msg limit fix: add enums to `types/__init__.py` PiperOrigin-RevId: 347055288 Source-Author: Google APIs <noreply@google.com> Source-Date: Fri Dec 11 12:44:37 2020 -0800 Source-Repo: googleapis/googleapis Source-Sha: dd372aa22ded7a8ba6f0e03a80e06358a3fa0907 Source-Link: googleapis/googleapis@dd372aa
1 parent 531a2e4 commit 1a749ef
Copy full SHA for 1a749ef

File tree

Expand file treeCollapse file tree

12 files changed

+53
-518
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+53
-518
lines changed

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/__init__.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/__init__.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
_transport_registry["grpc"] = SecretManagerServiceGrpcTransport
3131
_transport_registry["grpc_asyncio"] = SecretManagerServiceGrpcAsyncIOTransport
3232

33-
3433
__all__ = (
3534
"SecretManagerServiceTransport",
3635
"SecretManagerServiceGrpcTransport",

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/grpc.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/grpc.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ def __init__(
156156
ssl_credentials=ssl_credentials,
157157
scopes=scopes or self.AUTH_SCOPES,
158158
quota_project_id=quota_project_id,
159+
options=[
160+
("grpc.max_send_message_length", -1),
161+
("grpc.max_receive_message_length", -1),
162+
],
159163
)
160164
self._ssl_channel_credentials = ssl_credentials
161165
else:
@@ -174,6 +178,10 @@ def __init__(
174178
ssl_credentials=ssl_channel_credentials,
175179
scopes=scopes or self.AUTH_SCOPES,
176180
quota_project_id=quota_project_id,
181+
options=[
182+
("grpc.max_send_message_length", -1),
183+
("grpc.max_receive_message_length", -1),
184+
],
177185
)
178186

179187
self._stubs = {} # type: Dict[str, Callable]
@@ -200,7 +208,7 @@ def create_channel(
200208
) -> grpc.Channel:
201209
"""Create and return a gRPC channel object.
202210
Args:
203-
address (Optionsl[str]): The host for the channel to use.
211+
address (Optional[str]): The host for the channel to use.
204212
credentials (Optional[~.Credentials]): The
205213
authorization credentials to attach to requests. These
206214
credentials identify this application to the service. If

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/grpc_asyncio.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/services/secret_manager_service/transports/grpc_asyncio.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ def __init__(
201201
ssl_credentials=ssl_credentials,
202202
scopes=scopes or self.AUTH_SCOPES,
203203
quota_project_id=quota_project_id,
204+
options=[
205+
("grpc.max_send_message_length", -1),
206+
("grpc.max_receive_message_length", -1),
207+
],
204208
)
205209
self._ssl_channel_credentials = ssl_credentials
206210
else:
@@ -219,6 +223,10 @@ def __init__(
219223
ssl_credentials=ssl_channel_credentials,
220224
scopes=scopes or self.AUTH_SCOPES,
221225
quota_project_id=quota_project_id,
226+
options=[
227+
("grpc.max_send_message_length", -1),
228+
("grpc.max_receive_message_length", -1),
229+
],
222230
)
223231

224232
# Run the base constructor.

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/types/__init__.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1/types/__init__.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
DestroySecretVersionRequest,
4343
)
4444

45-
4645
__all__ = (
4746
"Secret",
4847
"SecretVersion",

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/__init__.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/__init__.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
_transport_registry["grpc"] = SecretManagerServiceGrpcTransport
3131
_transport_registry["grpc_asyncio"] = SecretManagerServiceGrpcAsyncIOTransport
3232

33-
3433
__all__ = (
3534
"SecretManagerServiceTransport",
3635
"SecretManagerServiceGrpcTransport",

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/grpc.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/grpc.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ def __init__(
156156
ssl_credentials=ssl_credentials,
157157
scopes=scopes or self.AUTH_SCOPES,
158158
quota_project_id=quota_project_id,
159+
options=[
160+
("grpc.max_send_message_length", -1),
161+
("grpc.max_receive_message_length", -1),
162+
],
159163
)
160164
self._ssl_channel_credentials = ssl_credentials
161165
else:
@@ -174,6 +178,10 @@ def __init__(
174178
ssl_credentials=ssl_channel_credentials,
175179
scopes=scopes or self.AUTH_SCOPES,
176180
quota_project_id=quota_project_id,
181+
options=[
182+
("grpc.max_send_message_length", -1),
183+
("grpc.max_receive_message_length", -1),
184+
],
177185
)
178186

179187
self._stubs = {} # type: Dict[str, Callable]
@@ -200,7 +208,7 @@ def create_channel(
200208
) -> grpc.Channel:
201209
"""Create and return a gRPC channel object.
202210
Args:
203-
address (Optionsl[str]): The host for the channel to use.
211+
address (Optional[str]): The host for the channel to use.
204212
credentials (Optional[~.Credentials]): The
205213
authorization credentials to attach to requests. These
206214
credentials identify this application to the service. If

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/grpc_asyncio.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/grpc_asyncio.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ def __init__(
201201
ssl_credentials=ssl_credentials,
202202
scopes=scopes or self.AUTH_SCOPES,
203203
quota_project_id=quota_project_id,
204+
options=[
205+
("grpc.max_send_message_length", -1),
206+
("grpc.max_receive_message_length", -1),
207+
],
204208
)
205209
self._ssl_channel_credentials = ssl_credentials
206210
else:
@@ -219,6 +223,10 @@ def __init__(
219223
ssl_credentials=ssl_channel_credentials,
220224
scopes=scopes or self.AUTH_SCOPES,
221225
quota_project_id=quota_project_id,
226+
options=[
227+
("grpc.max_send_message_length", -1),
228+
("grpc.max_receive_message_length", -1),
229+
],
222230
)
223231

224232
# Run the base constructor.

‎packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/types/__init__.py

Copy file name to clipboardExpand all lines: packages/google-cloud-secret-manager/google/cloud/secretmanager_v1beta1/types/__init__.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
DestroySecretVersionRequest,
4040
)
4141

42-
4342
__all__ = (
4443
"Secret",
4544
"SecretVersion",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.