Skip to content

Conversation

@cojenco
Copy link
Contributor

@cojenco cojenco commented Sep 20, 2022

Remove client-side validations and fall back to API errors per internal review doc

  • included: errors raised with unknown type/value
    • STORAGE_CLASSES
    • HMAC _SETTABLE_STATES
  • excluded: client-side validations that are reasonable and can avoid wasteful processing with API actions

Fixes #879
Fixes #880

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the googleapis/python-storage API. labels Sep 20, 2022
@cojenco cojenco added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 22, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 22, 2022
@cojenco cojenco added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 23, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 23, 2022
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Sep 28, 2022
@cojenco cojenco marked this pull request as ready for review September 29, 2022 21:36
@cojenco cojenco requested review from a team as code owners September 29, 2022 21:36
Copy link
Contributor

@andrewsg andrewsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding tests as discussed

@cojenco cojenco merged commit 928ebbc into googleapis:main Oct 6, 2022
@cojenco cojenco deleted the error_msg branch February 1, 2023 22:35
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. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove client side validation in HMAC Key Remove client side validation for storage class inputs

3 participants