Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

fix: allow metadata keys to be cleared - #383

Merged
tritone merged 1 commit into
googleapis:masterfrom
tritone:metadata-fix
Feb 17, 2021
Merged

fix: allow metadata keys to be cleared#383
tritone merged 1 commit into
googleapis:masterfrom
tritone:metadata-fix

Conversation

@tritone

Copy link
Copy Markdown
Contributor

Metadata keys can be cleared in the JSON API by setting the value
to null; however this doesn't currently work through this library.
This PR allows users to clear metadata keys by setting the value
to None and documents how users should do this.

Fixes#381

Metadata keys can be cleared in the JSON API by setting the value
to null; however this doesn't currently work through this library.
This PR allows users to clear metadata keys by setting the value
to None and documents how users should do this.
Fixesgoogleapis#381
@tritone
tritone requested review from a teamFebruary 17, 2021 05:39
@google-clagoogle-claBot added the cla: yes This human has signed the Contributor License Agreement. label Feb 17, 2021
@product-auto-labelproduct-auto-labelBot added the api: storage Issues related to the googleapis/python-storage API. label Feb 17, 2021
@tritone
tritone merged commit 79d27da into googleapis:masterFeb 17, 2021
@tritone
tritone deleted the metadata-fix branch February 17, 2021 18:17
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Metadata keys can be cleared in the JSON API by setting the value
to null; however this doesn't currently work through this library.
This PR allows users to clear metadata keys by setting the value
to None and documents how users should do this.
Fixesgoogleapis#381
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Metadata keys can be cleared in the JSON API by setting the value
to null; however this doesn't currently work through this library.
This PR allows users to clear metadata keys by setting the value
to None and documents how users should do this.
Fixesgoogleapis#381
@release-pleaserelease-pleaseBot mentioned this pull request Jan 12, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storageIssues related to the googleapis/python-storage API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't delete custom metadata key on object

2 participants

@tritone@frankyn