Skip to content

Commit

Permalink
fix(retry): restore grpc_service_config for CreateBackup and {Restore…
Browse files Browse the repository at this point in the history
…,Snapshot}Table (#240)

Committer: @miraleung
PiperOrigin-RevId: 361301101

Source-Author: Google APIs <noreply@google.com>
Source-Date: Sat Mar 6 02:06:05 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 458338f8ca444e43b9df96b984b68f3978852b74
Source-Link: googleapis/googleapis@458338f
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent cbd712e commit 79f1734
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Expand Up @@ -1515,7 +1515,7 @@ async def create_backup(
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.create_backup,
default_timeout=None,
default_timeout=60.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down Expand Up @@ -1919,7 +1919,7 @@ async def restore_table(
# and friendly error handling.
rpc = gapic_v1.method_async.wrap_method(
self._client._transport.restore_table,
default_timeout=None,
default_timeout=60.0,
client_info=DEFAULT_CLIENT_INFO,
)

Expand Down
Expand Up @@ -224,7 +224,7 @@ def _prep_wrapped_messages(self, client_info):
self.delete_snapshot, default_timeout=60.0, client_info=client_info,
),
self.create_backup: gapic_v1.method.wrap_method(
self.create_backup, default_timeout=None, client_info=client_info,
self.create_backup, default_timeout=60.0, client_info=client_info,
),
self.get_backup: gapic_v1.method.wrap_method(
self.get_backup,
Expand Down Expand Up @@ -259,7 +259,7 @@ def _prep_wrapped_messages(self, client_info):
client_info=client_info,
),
self.restore_table: gapic_v1.method.wrap_method(
self.restore_table, default_timeout=None, client_info=client_info,
self.restore_table, default_timeout=60.0, client_info=client_info,
),
self.get_iam_policy: gapic_v1.method.wrap_method(
self.get_iam_policy,
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-bigtable.git",
"sha": "75f9df66d6037dbfa3a34722fed5fe362be5459f"
"sha": "cbd712e6d3aded0c025525f97da1d667fbe2f061"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "e41506dc28a42bae9b86c7b45e889bdf6d786648",
"internalRef": "359620992"
"sha": "458338f8ca444e43b9df96b984b68f3978852b74",
"internalRef": "361301101"
}
},
{
Expand Down

0 comments on commit 79f1734

Please sign in to comment.