FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: fix broken import for google.api_core.retry_async.AsyncRetry by parthea · Pull Request #587 · googleapis/python-api-core · GitHub

This repository was archived by the owner on Feb 23, 2026. It is now read-only.
/ python-api-core Public archive

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 commented Jan 30, 2024

Copy link
Copy Markdown
Contributor

Fixes #586 🦕

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 changed the title fix: fix broken import for AsyncRetry fix: fix broken import for google.api_core.retry_async.AsyncRetry Jan 30, 2024
parthea marked this pull request as ready for review January 30, 2024 12:55
parthea requested review from a team January 30, 2024 12:55
"if_exception_type",
"if_transient_error",
"retry_target",
)

daniel-sanche Jan 30, 2024
edited
Loading

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Fixed in 4f01471

parthea merged commit ac012c0 into main Jan 30, 2024
parthea deleted the fix-586 branch January 30, 2024 18:40

potiuk commented Jan 30, 2024

Copy link
Copy Markdown

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL