Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

fix: fix broken import for google.api_core.retry_async.AsyncRetry - #587

Merged
parthea merged 4 commits into
mainfrom
fix-586
Jan 30, 2024
Merged

fix: fix broken import for google.api_core.retry_async.AsyncRetry#587
parthea merged 4 commits into
mainfrom
fix-586

Conversation

@parthea

Copy link
Copy Markdown
Contributor

Fixes#586 🦕

@product-auto-labelproduct-auto-labelBot added size: xs Pull request size is extra small. size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Jan 30, 2024
@partheaparthea changed the title fix: fix broken import for AsyncRetryfix: fix broken import for google.api_core.retry_async.AsyncRetryJan 30, 2024
@parthea
parthea marked this pull request as ready for review January 30, 2024 12:55
@parthea
parthea requested review from a teamJanuary 30, 2024 12:55
"if_exception_type",
"if_transient_error",
"retry_target",
)

@daniel-sanchedaniel-sancheJan 30, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could also be potentially fixed with a file at google/api_core/retry_async.py, right?

Either way works for me, but it does seem like it could be confusing to have a retry_async folder, even though the actual async implementation is in /retry.

Using a retry_async.py file mirrors the old implementation, which feels slightly cleaner to me

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4f01471

@parthea
parthea merged commit ac012c0 into mainJan 30, 2024
@parthea
parthea deleted the fix-586 branch January 30, 2024 18:40
@release-pleaserelease-pleaseBot mentioned this pull request Jan 30, 2024
@potiuk

Copy link
Copy Markdown

Nice! Super speedy one it seems :D. Thanks for handling it that quickly :D

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: sPull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backward compatible import of retry_async does not work in 2.16.0

5 participants

@parthea@potiuk@daniel-sanche@vchudnov-g@ohmayr