Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(storage): str() metadata for for blob#9796

Merged
crwilcox merged 4 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
MaxxleLLC:storage_str_metadata_for_blobMaxxleLLC/google-cloud-python:storage_str_metadata_for_blobCopy head branch name to clipboard
Nov 22, 2019
Merged

fix(storage): str() metadata for for blob#9796
crwilcox merged 4 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
MaxxleLLC:storage_str_metadata_for_blobMaxxleLLC/google-cloud-python:storage_str_metadata_for_blobCopy head branch name to clipboard

Conversation

@HemangChothani

Copy link
Copy Markdown
Contributor

Fixes #9729

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2019
:type value: dict
:param value: (Optional) The blob metadata to set.
"""
value = {k: str(v) for k, v in value.items()}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @HemangChothani!

Could you also add this to bucket labels given the similarity?

@frankyn frankyn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @HemangChothani, lgtm!

@crwilcox crwilcox merged commit 75dc3ec into googleapis:master Nov 22, 2019
@HemangChothani HemangChothani deleted the storage_str_metadata_for_blob branch December 17, 2019 12:16
parthea pushed a commit that referenced this pull request Mar 9, 2026
* fix(storage): fix stringify metadata for blob

* fix(storage): fix lint fail

* fix(storage): stringify labels for bucket

* fix(storage): fix lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storage: str() metadata for bucket and blob

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.