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

Commit 2adec5a

Browse files
committed
fixed errors
1 parent 410cfb8 commit 2adec5a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

google/cloud/bigtable/data/_async/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ async def read_rows_stream(
10251025
operation_timeout=operation_timeout,
10261026
attempt_timeout=attempt_timeout,
10271027
metric=self._metrics.create_operation(
1028-
OperationType.READ_ROWS, streaming=True
1028+
OperationType.READ_ROWS, is_streaming=True
10291029
),
10301030
retryable_exceptions=retryable_excs,
10311031
)
@@ -1133,13 +1133,13 @@ async def read_row(
11331133
operation_timeout=operation_timeout,
11341134
attempt_timeout=attempt_timeout,
11351135
metric=self._metrics.create_operation(
1136-
OperationType.READ_ROWS, streaming=False
1136+
OperationType.READ_ROWS, is_streaming=False
11371137
),
11381138
retryable_exceptions=retryable_excs,
11391139
)
11401140
results_generator = row_merger.start_operation()
11411141
try:
1142-
return results_generator.__anext__()
1142+
return await results_generator.__anext__()
11431143
except StopAsyncIteration:
11441144
return None
11451145

google/cloud/bigtable/data/_metrics/data_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828

2929
import google.cloud.bigtable.data.exceptions as bt_exceptions
3030
from google.cloud.bigtable_v2.types.response_params import ResponseParams
31+
from google.cloud.bigtable.data._helpers import TrackedBackoffGenerator
3132
from google.protobuf.message import DecodeError
3233

3334
if TYPE_CHECKING:
3435
from google.cloud.bigtable.data._metrics.handlers._base import MetricsHandler
35-
from google.cloud.bigtable.data._helpers import TrackedBackoffGenerator
3636

3737

3838
LOGGER = logging.getLogger(__name__)

google/cloud/bigtable/data/_sync_autogen/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def read_rows_stream(
810810
operation_timeout=operation_timeout,
811811
attempt_timeout=attempt_timeout,
812812
metric=self._metrics.create_operation(
813-
OperationType.READ_ROWS, streaming=True
813+
OperationType.READ_ROWS, is_streaming=True
814814
),
815815
retryable_exceptions=retryable_excs,
816816
)
@@ -910,7 +910,7 @@ def read_row(
910910
operation_timeout=operation_timeout,
911911
attempt_timeout=attempt_timeout,
912912
metric=self._metrics.create_operation(
913-
OperationType.READ_ROWS, streaming=False
913+
OperationType.READ_ROWS, is_streaming=False
914914
),
915915
retryable_exceptions=retryable_excs,
916916
)

0 commit comments

Comments
 (0)