Skip to content

Commit 902a4ab

Browse files
committed
updated comments
1 parent 0188228 commit 902a4ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

google/api_core/retry_async.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,11 @@ async def retry_wrapped_func(*args, **kwargs):
241241

242242
@functools.wraps(func)
243243
def retry_wrapped_stream(*args, deadline_dt=None, **kwargs):
244-
"""A wrapper that yields through target generator with retry."""
244+
"""A wrapper that iterates over target stream with retry."""
245245
target = functools.partial(func, *args, **kwargs)
246246
sleep_generator = exponential_sleep_generator(
247247
self._initial, self._maximum, multiplier=self._multiplier
248248
)
249-
# if the target is a generator or iterable function, make sure return is also a generator function
250249
return AsyncRetryableGenerator(
251250
target,
252251
self._predicate,

0 commit comments

Comments
 (0)