Skip to content

PublisherClient methods no longer supporting previous way of calling #194

@sli2126

Description

@sli2126

It looks like methods no longer take topic name/path as an unnamed arg, causing test failures in Python Logging and Storage clients:
https://source.cloud.google.com/results/invocations/a5ade010-9ee5-463b-ad2e-6e106badb197/targets
https://source.cloud.google.com/results/invocations/44fbcc26-bb84-421d-bbca-fee58f6df1c2/targets

Steps to reproduce

  1. Run tests/system/test_system.py in python-logging or python-storage.

Code example

publisher = pubsub_v1.PublisherClient()
publisher.create_topic(topic_path)

Stack trace

.nox/system-3-6/lib/python3.6/site-packages/google/cloud/pubsub_v1/_gapic.py:40: in <lambda>
    fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw)  # noqa
.nox/system-3-6/lib/python3.6/site-packages/google/pubsub_v1/services/publisher/client.py:310: in create_topic
    request = pubsub.Topic(request)

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the googleapis/python-pubsub API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions