Skip to content

Commit 43d0913

Browse files
1 parent 6104c59 commit 43d0913

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎google/api_core/retry_streaming_async.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ def _subtract_time_from_budget(self, start_timestamp: float) -> None:
141141
started.
142142
"""
143143
if self.remaining_timeout_budget is not None:
144-
self.remaining_timeout_budget -= (
145-
time.monotonic() - start_timestamp
146-
)
144+
self.remaining_timeout_budget -= time.monotonic() - start_timestamp
147145

148146
async def _iteration_helper(self, iteration_routine: Awaitable) -> T:
149147
"""

0 commit comments

Comments
 (0)