-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[App] Wrap LightningClient methods with retry wrapper by default #16382
Conversation
⚡ Required checks status: All passing 🟢Groups summary🟢 lightning_app: Tests workflow
These checks are required after the changes to 🟢 lightning_app: Examples
These checks are required after the changes to 🟢 lightning_app: Azure
These checks are required after the changes to 🟢 lightning_app: Docs
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 installThese checks are required after the changes to 🟢 link-check
These checks are required after the changes to Thank you for your contribution! 💜
|
@akihironitta Please have a look at the motivation from #15412. There are some consequences in the CLI to doing so. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Given #16382 (comment), I see two options:
I'll mark this PR as ready for review again once I update this PR (2.). |
@akihironitta 2) sounds good to me. To be sure, I would also check the usages in other places than the CLI and see if the default value make sense or whether it should be flipped too. |
…tning-AI/lightning into bugfix/enable_retry_wrapper
changes were made that require re-review
) Co-authored-by: thomas chaton <[email protected]> Co-authored-by: thomas <[email protected]> (cherry picked from commit d6b62da)
) Co-authored-by: thomas chaton <[email protected]> Co-authored-by: thomas <[email protected]> (cherry picked from commit d6b62da)
What does this PR do?
Addresses https://github.com/gridai/grid/pull/9033#discussion_r1071372526.
This PR can impact these occurrences
Does your PR introduce any breaking changes? If yes, please list them.
Changes
retry=False
toretry=True
:Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
cc @Borda @tchaton