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 — Storage: Mislead BucketNotification.reload method's return type in doc-string · Issue #76 · googleapis/python-storage

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

Storage: Mislead BucketNotification.reload method's return type in doc-string  #76

Copy link
Copy link
Closed
#78
Closed
Storage: Mislead BucketNotification.reload method's return type in doc-string #76
#78
Copy link
Assignees
HemangChothani
Labels
api: storageIssues related to the googleapis/python-storage API.type: docsImprovement to the documentation for an API.

Description

@HemangChothani
HemangChothani
opened on Mar 4, 2020
Issue body actions

BucketNotification's reload method document specify return type = bool

python-storage/google/cloud/storage/notification.py

Lines 329 to 331 in 98684b8

:rtype: bool
:returns: True, if the notification exists, else False.
:raises ValueError: if the notification has no ID.

But, it returns nothing.

python-storage/google/cloud/storage/notification.py

Lines 342 to 345 in 98684b8

response = client._connection.api_request(
method="GET", path=self.path, query_params=query_params, timeout=timeout
)
self._set_properties(response)

Activity

  1. HemangChothani
    self-assigned this
    on Mar 4, 2020
  2. product-auto-label
    added
    api: storageIssues related to the googleapis/python-storage API.
    on Mar 4, 2020
  3. HemangChothani
    added
    type: docsImprovement to the documentation for an API.
    on Mar 4, 2020
  4. frankyn
    closed this as completedin #78on Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @HemangChothani
    HemangChothani

Labels

api: storageIssues related to the googleapis/python-storage API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.