Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Oct 26, 2023
1 parent f5eb290 commit 5610757
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion google/api_core/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ def retry_target(
try:
result = target()
if inspect.isawaitable(result):
raise exceptions.GoogleAPIError("Warning: Use google.api_core.retry_async.AsyncRetry for async calls!")
raise exceptions.GoogleAPIError(
"Warning: Use google.api_core.retry_async.AsyncRetry for async calls!"
)
return result

# pylint: disable=broad-except
Expand Down

0 comments on commit 5610757

Please sign in to comment.