Skip to content

pylint: Instance of 'SubscriberClient' has no 'subscription_path' member #67

@dinvlad

Description

@dinvlad

Environment details

  • OS type and version: macOS Mojave 10.14.6
  • Python version: python --version 3.7.7
  • pip version: pip --version 20.0.2
  • google-cloud-pubsub version: pip show google-cloud-pubsub 1.4.2

Steps to reproduce

  1. Use the stock subscription example from https://github.com/googleapis/python-pubsub/blob/master/docs/subscriber/index.rst
  2. Running pylint on it results in:
E1101: Instance of 'SubscriberClient' has no 'subscription_path' member (no-member)

Code example

from google.cloud import pubsub
subscriber = pubsub.SubscriberClient()

sub_path = subscriber.subscription_path(PROJECT, SUBSCRIPTION)

Stack trace

N/A

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