diff --git a/google/cloud/bigtable/data/_async/client.py b/google/cloud/bigtable/data/_async/client.py index 310311681..d0578ff1a 100644 --- a/google/cloud/bigtable/data/_async/client.py +++ b/google/cloud/bigtable/data/_async/client.py @@ -44,7 +44,6 @@ ) from google.cloud.bigtable_v2.types.bigtable import PingAndWarmRequest from google.cloud.client import ClientWithProject -from google.api_core.exceptions import GoogleAPICallError from google.cloud.environment_vars import BIGTABLE_EMULATOR # type: ignore from google.api_core import retry as retries from google.api_core.exceptions import DeadlineExceeded diff --git a/google/cloud/bigtable/data/_helpers.py b/google/cloud/bigtable/data/_helpers.py index 831e468b5..a0b13cbaf 100644 --- a/google/cloud/bigtable/data/_helpers.py +++ b/google/cloud/bigtable/data/_helpers.py @@ -98,7 +98,9 @@ def _attempt_timeout_generator( def _retry_exception_factory( - exc_list: list[Exception], reason: RetryFailureReason, timeout_val: float | None, + exc_list: list[Exception], + reason: RetryFailureReason, + timeout_val: float | None, ) -> tuple[Exception, Exception | None]: """ Build retry error based on exceptions encountered during operation