Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11032cf

Browse files
authored
feat: add ServiceUnavailable exception to polling retries (googleapis#184)
1 parent 2768346 commit 11032cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/api_core/future/polling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class _OperationNotComplete(Exception):
3434
exceptions.TooManyRequests,
3535
exceptions.InternalServerError,
3636
exceptions.BadGateway,
37+
exceptions.ServiceUnavailable,
3738
)
3839
DEFAULT_RETRY = retry.Retry(predicate=RETRY_PREDICATE)
3940

0 commit comments

Comments
 (0)