Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

parthea
Copy link
Collaborator

@parthea parthea commented Jan 30, 2024

Fixes #586 🦕

@product-auto-label product-auto-label bot 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
@parthea parthea changed the title fix: fix broken import for AsyncRetry fix: fix broken import for google.api_core.retry_async.AsyncRetry Jan 30, 2024
"if_exception_type",
"if_transient_error",
"retry_target",
)
Copy link
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
Collaborator Author

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 main Jan 30, 2024
27 checks passed
@parthea parthea deleted the fix-586 branch January 30, 2024 18:40
@potiuk
Copy link

potiuk commented Jan 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull 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