GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Add encryption_key param to Blob.from_string by harrydrippin · Pull Request #391 · googleapis/python-storage

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

Conversation

@harrydrippin

@harrydrippin harrydrippin commented Mar 9, 2021

Copy link
Copy Markdown

This PR contains several fixes as follows:

  • Add encryption_key parameter to Blob.from_string.
  • Fix several typos and format errors.

Fixes #390 🦕

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@harrydrippin
feat: Add encryption_key param to Blob.from_string
a217a05
* Add `encryption_key` parameter to Blob.from_string.
* Fix several typos and format errors.
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 9, 2021
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Mar 9, 2021
@harrydrippin
tests: Add test for adding encryption_key param to Blob.from_string
327183d
Signed-off-by: GitHub <[email protected]>
@harrydrippin
harrydrippin marked this pull request as ready for review April 5, 2021 09:51
@harrydrippin
harrydrippin requested review from a team April 5, 2021 09:51
cojenco
cojenco reviewed Apr 5, 2021
View reviewed changes
Comment thread tests/unit/test_blob.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

cojenco
cojenco reviewed Apr 5, 2021
View reviewed changes
Comment thread google/cloud/storage/blob.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

cojenco
cojenco suggested changes Apr 5, 2021
View reviewed changes

@cojenco cojenco left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks @harrydrippin for submitting a PR and helping us improve. Please refer to the comments for a few change requests. Feel free to let me know if any questions. Thank you!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

harrydrippin reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
harrydrippin and others added 2 commits April 6, 2021 11:57
@harrydrippin
fix: Align indentation inside Docstring
64f994c
* Fix indentation inside `Blob.from_string()`
@harrydrippin @cojenco
fix: Set encryption key variable as bytes
56c719a
Co-authored-by: cojenco <[email protected]>
@harrydrippin
harrydrippin requested a review from cojenco April 6, 2021 18:26
tseaver
tseaver approved these changes Apr 20, 2021
View reviewed changes
@tseaver
Merge branch 'master' into patch-1
25306ad
@frankyn frankyn closed this Apr 20, 2021
@tseaver

tseaver commented Apr 20, 2021

Copy link
Copy Markdown
Contributor

@harrydrippin Thanks for your patch. We've decided to use a getter/setter for encryption key: #409.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@harrydrippin
harrydrippin deleted the patch-1 branch April 21, 2021 02:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@cojenco cojenco Awaiting requested review from cojenco
1 more reviewer
@tseaver tseaver tseaver approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add encryption_key param to Blob.from_string

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@harrydrippin @tseaver @cojenco @frankyn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.