Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit b2acdd4

Browse files
committed
Fixed 3.14 annotation overloading issue
1 parent aa2850c commit b2acdd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • google/cloud/bigtable/admin/overlay/services/bigtable_table_admin

google/cloud/bigtable/admin/overlay/services/bigtable_table_admin/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
)
5353
from google.cloud.bigtable.admin.overlay.types import (
5454
consistency,
55-
restore_table,
55+
restore_table as restore_table_lro,
5656
wait_for_consistency_request,
5757
)
5858

@@ -141,7 +141,7 @@ def restore_table(
141141
retry: OptionalRetry = gapic_v1.method.DEFAULT,
142142
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
143143
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
144-
) -> restore_table.RestoreTableOperation:
144+
) -> restore_table_lro.RestoreTableOperation:
145145
r"""Create a new table by restoring from a completed backup. The
146146
returned table :class:`long-running operation
147147
<google.cloud.bigtable.admin.overlay.types.restore_table.RestoreTableOperation>`
@@ -223,7 +223,7 @@ def sample_restore_table():
223223
metadata=metadata,
224224
)
225225

226-
restore_table_operation = restore_table.RestoreTableOperation(
226+
restore_table_operation = restore_table_lro.RestoreTableOperation(
227227
self._transport.operations_client, operation
228228
)
229229
return restore_table_operation

0 commit comments

Comments
 (0)