Skip to content

BucketNotification.create() does not check if a topic is provided #616

@cojenco

Description

@cojenco

A PubSub topic (topic name) is required to insert a BucketNotification according to the JSON API.

Currently the library is not checking in BucketNotification.create() if a topic name is set or not. topic_name=None is incorrectly interpolated to "//pubsub.googleapis.com/projects/<project-identifier>/topics/None"

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions