We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4143bfc commit 31ade5bCopy full SHA for 31ade5b
‎google/api_core/retry/retry_streaming_async.py
@@ -163,11 +163,13 @@ async def retry_target_stream(
163
164
# TODO: Remove this conditional once the minimum supported Python version is 3.11
165
if sys.version_info[:3] >= (3, 11, 0):
166
- await cast(AsyncGenerator["_Y", None], target_iterator).athrow(
167
- sys.exception())
+ await cast(
+ AsyncGenerator["_Y", None], target_iterator
168
+ ).athrow(sys.exception())
169
else:
170
- *sys.exc_info())
171
172
+ ).athrow(*sys.exc_info())
173
174
raise
175
return
0 commit comments