ability for waiter.wait to return last response on success
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #2914 by @thehesiod — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Read botocore/waiter.py around line 370 and trace the success path. Done means waiter.wait returns the final response when the waiter completes successfully, avoiding another request for callers such as Athena.
Written by the indexing model from the issue text.
Description
Describe the feature
right now when the last item is a success it just returns None: https://github.com/boto/botocore/blob/develop/botocore/waiter.py#L370.
Use Case
This means that if you want to grab statistics, like from an athena call you have to call the method again to be able to get it.
Proposed Solution
To avoid another round trip the waiter should return the last response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
1.29.119
Environment details (OS name and version, etc.)
OSX 13.3.1
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 1.2k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 15
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boto/botocore
-
CSMSerializer._truncate logs the truncated text and the maximum length in swapped orderPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation p3 route53 service-api
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
generate_presigned_post mutates the caller's Conditions listPossibly taken A pull request linked to this issue is open or already merged. Openbug p2 released s3
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
boto/botocore#3847 · 3 comments ·
Maintainers usually reply within 1 day
-
CloudFront ListVpcOrigins: VpcOriginList marks Marker and IsTruncated as required, but the service never returns themPossibly taken @SwastikTripathi claimed this 29 days ago. Openbug cloudfront p3 service-api
Difficulty 1/5 Under an hour Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
Add HARICA to trusted to cacert.pemMay be free again @aBurmeseDev claimed this 56 days ago, and no pull request is open. Openfeature-request needs-discussion p2
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
boto/botocore#3798 · 3 comments · 6 reactions · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
bot-triaged module: correctness (silent) module: fft triage review
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
conda-forge/zarpaint-feedstock#8 · 1 comment · 1 reaction ·
-
plot_prediction colorbar shows a 0-1 range instead of the data rangePossibly taken @nikhil3495 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mllam/neural-lam#902 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
didi/helixharness#28 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day