File tree Expand file tree Collapse file tree
packages/google-cloud-bigtable/google/cloud/bigtable/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 OperationType ,
7171 tracked_retry ,
7272)
73-
74- _LOGGER = logging .getLogger (__name__ )
7573from google .cloud .bigtable .data ._metrics .handlers .gcp_exporter import (
7674 BigtableMetricsExporter ,
7775 GoogleCloudMetricsHandler ,
114112 SampleRowKeysRequest ,
115113)
116114
115+ _LOGGER = logging .getLogger (__name__ )
116+
117117if CrossSync .is_async :
118118 from grpc .aio import insecure_channel
119119
Original file line number Diff line number Diff line change @@ -264,7 +264,9 @@ def _batch_write(
264264
265265 @staticmethod
266266 def _to_point (
267- data_point : NumberDataPoint | HistogramDataPoint | ExponentialHistogramDataPoint ,
267+ data_point : NumberDataPoint
268+ | HistogramDataPoint
269+ | ExponentialHistogramDataPoint ,
268270 ) -> Point :
269271 """
270272 Adapted from CloudMonitoringMetricsExporter
Original file line number Diff line number Diff line change 6464 OperationType ,
6565 tracked_retry ,
6666)
67-
68- _LOGGER = logging .getLogger (__name__ )
6967from google .cloud .bigtable .data ._metrics .handlers .gcp_exporter import (
7068 BigtableMetricsExporter ,
7169 GoogleCloudMetricsHandler ,
119117 SampleRowKeysRequest ,
120118)
121119
120+ _LOGGER = logging .getLogger (__name__ )
121+
122122if TYPE_CHECKING :
123123 from google .cloud .bigtable .data ._helpers import RowKeySamples , ShardedQuery
124124 from google .cloud .bigtable .data ._sync_autogen .mutations_batcher import (
You can’t perform that action at this time.
0 commit comments