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

Commit dac2037

Browse files
committed
Fixed type hint
1 parent e307e0b commit dac2037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google/cloud/bigtable/admin_v2/overlay/types/restore_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import enum
16-
from typing import Optional
16+
from typing import Optional, Union
1717

1818
from google.api_core import retry
1919
from google.api_core import operation
@@ -61,7 +61,7 @@ def __init__(self, operations_client, restore_table_operation: operation.Operati
6161

6262
def optimize_restored_table_operation(
6363
self,
64-
timeout: Optional[int | Timeout] = Timeout.DEFAULT_TIMEOUT,
64+
timeout: Optional[Union[int, Timeout]] = Timeout.DEFAULT_TIMEOUT,
6565
retry: Optional[retry.Retry] = None,
6666
polling: Optional[retry.Retry] = None,
6767
) -> Optional[operation.Operation]:

0 commit comments

Comments
 (0)