Skip to content
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

Add means to retrieve responses after calling batch module #1214

Open
shunping opened this issue Jan 23, 2024 · 0 comments
Open

Add means to retrieve responses after calling batch module #1214

shunping opened this issue Jan 23, 2024 · 0 comments
Labels
api: storage Issues related to the googleapis/python-storage API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@shunping
Copy link

shunping commented Jan 23, 2024

Problem:
The current Batch class (https://github.com/googleapis/python-storage/blob/v2.14.0/google/cloud/storage/batch.py#L145) does not provide a good way of getting the responses from the batch call.

Suggestion:
Add a simple public function to return _responses. It can be as simple as

def get_responses(self):
    return self._responses
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Jan 23, 2024
@cojenco cojenco added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants