Skip to content

storage: S3 SDK sample to list buckets #2022

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

Merged
merged 16 commits into from
Mar 7, 2019
Merged

storage: S3 SDK sample to list buckets #2022

merged 16 commits into from
Mar 7, 2019

Conversation

frankyn
Copy link
Contributor

@frankyn frankyn commented Feb 25, 2019

Hi,

The PR adds a new sample to list GCS buckets using the S3 SDK in Python.

  • Sample and system test
  • Set up integration tests for HMAC key and secret.
  • Code review

@frankyn frankyn requested a review from engelke February 25, 2019 20:53
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 25, 2019
Copy link
Contributor

@engelke engelke left a comment

Choose a reason for hiding this comment

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

LGTM. Review the comments but do whatever seems consistent to you. Thanks.


.. code-block:: bash

$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest you add the cd command after the clone.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, should this tell the user to set the authentication environment variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I modified the example to pass in credentials using CLI parameter.

I looked at other samples and I didn't see cd ./../ when generating README's with templates. For consistency, I'm going to keep as is as it impacts other samples.

@frankyn
Copy link
Contributor Author

frankyn commented Mar 7, 2019

Thanks @engelke, I updated the PR with credentials necessary to test this sample.

PTAL.

@engelke engelke merged commit 6ea559f into master Mar 7, 2019
@frankyn frankyn deleted the boto3-support branch March 7, 2019 22:35
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.

3 participants