Skip to content

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

@daniel-sanche daniel-sanche Jan 30, 2024

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
@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

This was referenced May 30, 2025
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