This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google/cloud/bigtable/data Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 2828
2929import google .cloud .bigtable .data .exceptions as bt_exceptions
3030from google .cloud .bigtable_v2 .types .response_params import ResponseParams
31+ from google .cloud .bigtable .data ._helpers import TrackedBackoffGenerator
3132from google .protobuf .message import DecodeError
3233
3334if TYPE_CHECKING :
3435 from google .cloud .bigtable .data ._metrics .handlers ._base import MetricsHandler
35- from google .cloud .bigtable .data ._helpers import TrackedBackoffGenerator
3636
3737
3838LOGGER = logging .getLogger (__name__ )
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments