Skip to content

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

@HemangChothani

Description

@HemangChothani

BucketNotification's reload method document specify return type = bool

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

But, it returns nothing.

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

Metadata

Metadata

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