You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
A warning can be raised within google.api_core.retry.retry_target depending on whether the return value of target() is awaitable in the following way:
ifinspect.isawaitable(target()):
raiseValueError("Incorrect use of Retry in async code. Use AsyncRetry instead")
This will ensure that google.api_core.retry.Retry is not incorrectly used in async clients/code and will suggest users to use google.api_core.retry_async.AsyncRetry instead