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

fix: check response code in batch.finish by cojenco · Pull Request #609 · googleapis/python-storage · GitHub

This repository was archived by the owner on Mar 31, 2026. It is now read-only.
/ python-storage Public archive

fix: check response code in batch.finish - #609

Merged
cojenco merged 2 commits into
googleapis:mainfrom
cojenco:error-batch
Sep 30, 2021
Merged

fix: check response code in batch.finish#609
cojenco merged 2 commits into
googleapis:mainfrom
cojenco:error-batch

Conversation

cojenco commented Sep 30, 2021

Copy link
Copy Markdown
Contributor

This adds a check to the top-level response code in batch.finish so that an exception is raised with the underlying error.

Fixes #608 Fixes #404 🦕

product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Sep 30, 2021
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 30, 2021
cojenco marked this pull request as ready for review September 30, 2021 18:22
cojenco requested review from a team September 30, 2021 18:22
cojenco merged commit 318a286 into googleapis:main Sep 30, 2021
cojenco added a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
* add top-level response status code check to batch.finish

* test exception is raised when batch request fails
cojenco added a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
* add top-level response status code check to batch.finish

* test exception is raised when batch request fails
cojenco deleted the error-batch branch December 3, 2021 23:47
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

api: storage Issues related to the googleapis/python-storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Top-level response code error not checked in batch.finish Started getting random ValueError: Bad response: not multi-part exceptions

3 participants


Back | FazBrowse Home | New Git URL