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

docs(storage): add documentation for blob and bucket name property#89

Merged
gcf-merge-on-green[bot] merged 8 commits into
googleapis:masterfrom
MaxxleLLC:storage_issue_82
Apr 16, 2020
Merged

docs(storage): add documentation for blob and bucket name property#89
gcf-merge-on-green[bot] merged 8 commits into
googleapis:masterfrom
MaxxleLLC:storage_issue_82

Conversation

@HemangChothani

Copy link
Copy Markdown
Contributor

Fixes #82

@googlebot

Copy link
Copy Markdown

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Mar 24, 2020
@HemangChothani

Copy link
Copy Markdown
Contributor Author

@googlebot I signed it!

@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, I have two nits.

Comment thread google/cloud/storage/blob.py Outdated
"""
return self._name

@name.setter

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.

Recommend removing setter.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@frankyn If i remove setter then it throws an error like AttributeError: can't set attribute

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.

Is this why you recommended only adding pydocs instead? If so, then let's do that instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@frankyn Yes , that's why i recommend doc static doc string. i will update the PR. Thanks.

Comment thread google/cloud/storage/bucket.py Outdated
return self._name

@name.setter
def name(self, value):

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.

Here as well

@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Mar 30, 2020
Comment thread google/cloud/storage/bucket.py Outdated
self._default_object_acl = DefaultObjectACL(self)
self._label_removals = set()
self._user_project = user_project
self._name = name

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.

is this still necessary?

@frankyn frankyn added the automerge Merge the pull request once unit tests and other checks pass. label Apr 16, 2020
@gcf-merge-on-green

Copy link
Copy Markdown
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

1 similar comment
@gcf-merge-on-green

Copy link
Copy Markdown
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

@gcf-merge-on-green

Copy link
Copy Markdown
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, or one of your required reviews was not approved. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@HemangChothani HemangChothani added automerge Merge the pull request once unit tests and other checks pass. and removed automerge Merge the pull request once unit tests and other checks pass. labels Apr 16, 2020
@gcf-merge-on-green gcf-merge-on-green Bot merged commit cecc7ac into googleapis:master Apr 16, 2020
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: Blob name is not documented as a property

3 participants