Skip to content

Commit 1bbd1f0

Browse files
committed
ran blacken
1 parent ace61eb commit 1bbd1f0

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

google/api_core/retry/retry_streaming.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,14 @@ def retry_target_stream(
122122
except Exception as exc:
123123
# defer to shared logic for handling errors
124124
_retry_error_helper(
125-
exc, deadline, sleep, error_list, predicate, on_error, exception_factory, timeout
125+
exc,
126+
deadline,
127+
sleep,
128+
error_list,
129+
predicate,
130+
on_error,
131+
exception_factory,
132+
timeout,
126133
)
127134
# if exception not raised, sleep before next attempt
128135
time.sleep(sleep)

google/api_core/retry/retry_streaming_async.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,14 @@ async def retry_target_stream(
175175
except Exception as exc:
176176
# defer to shared logic for handling errors
177177
_retry_error_helper(
178-
exc, deadline, sleep, error_list, predicate, on_error, exception_factory, timeout
178+
exc,
179+
deadline,
180+
sleep,
181+
error_list,
182+
predicate,
183+
on_error,
184+
exception_factory,
185+
timeout,
179186
)
180187
# if exception not raised, sleep before next attempt
181188
await asyncio.sleep(sleep)

google/api_core/retry/retry_unary.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,14 @@ def retry_target(
149149
except Exception as exc:
150150
# defer to shared logic for handling errors
151151
_retry_error_helper(
152-
exc, deadline, sleep, error_list, predicate, on_error, exception_factory, timeout
152+
exc,
153+
deadline,
154+
sleep,
155+
error_list,
156+
predicate,
157+
on_error,
158+
exception_factory,
159+
timeout,
153160
)
154161
# if exception not raised, sleep before next attempt
155162
time.sleep(sleep)

google/api_core/retry/retry_unary_async.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,14 @@ async def retry_target(
155155
except Exception as exc:
156156
# defer to shared logic for handling errors
157157
_retry_error_helper(
158-
exc, deadline, sleep, error_list, predicate, on_error, exception_factory, timeout
158+
exc,
159+
deadline,
160+
sleep,
161+
error_list,
162+
predicate,
163+
on_error,
164+
exception_factory,
165+
timeout,
159166
)
160167
# if exception not raised, sleep before next attempt
161168
await asyncio.sleep(sleep)

0 commit comments

Comments
 (0)