From a526d659320939cd7f47ee775b250e8a3e3ab16b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 20 Jun 2023 22:43:50 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- google/api_core/retry_streaming.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/google/api_core/retry_streaming.py b/google/api_core/retry_streaming.py index 7aa6146a..abfc3cef 100644 --- a/google/api_core/retry_streaming.py +++ b/google/api_core/retry_streaming.py @@ -51,9 +51,9 @@ class RetryableGenerator(Generator[T, Any, None]): There are two ways to build more advanced retry logic for streams: 1. Wrap the target - Use a ``target`` that maintains state between retries, and creates a - different generator on each retry call. For example, you can wrap a - network call in a function that modifies the request based on what has + Use a ``target`` that maintains state between retries, and creates a + different generator on each retry call. For example, you can wrap a + network call in a function that modifies the request based on what has already been returned: ```