Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
maingoogleapis/python-api-core:mainfrom
fix-586googleapis/python-api-core:fix-586Copy head branch name to clipboard
Jan 30, 2024
Merged

fix: fix broken import for google.api_core.retry_async.AsyncRetry#587
parthea merged 4 commits into
maingoogleapis/python-api-core:mainfrom
fix-586googleapis/python-api-core:fix-586Copy head branch name to clipboard

Conversation

@parthea

@parthea parthea commented Jan 30, 2024

Copy link
Copy Markdown
Contributor

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
@parthea parthea marked this pull request as ready for review January 30, 2024 12:55
@parthea parthea requested review from a team January 30, 2024 12:55
"if_exception_type",
"if_transient_error",
"retry_target",
)

@daniel-sanche daniel-sanche Jan 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
Contributor 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

potiuk commented Jan 30, 2024

Copy link
Copy Markdown

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

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.