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

Commit 1986b06

Browse files
1 parent f9dab5d commit 1986b06

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ def start_attempt(self) -> None:
193193
if self.backoff_generator and len(self.completed_attempts) > 0:
194194
# find the attempt's backoff by sending attempt number to generator
195195
# generator will return the backoff time in seconds, so convert to nanoseconds
196-
backoff = self.backoff_generator.get_attempt_backoff(len(self.completed_attempts) - 1)
196+
backoff = self.backoff_generator.get_attempt_backoff(
197+
len(self.completed_attempts) - 1
198+
)
197199
backoff_ns = int(backoff * 1e9)
198200
else:
199201
backoff_ns = 0

0 commit comments

Comments
 (0)