Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Add documentation for close, and context manager for SubscriberClient #238

@alonme

Description

@alonme

The code examples in googleapis.dev do not close the SubscriberClient, and the context manager for this class is not mentioned anywhere, opposed to documenatation in https://cloud.google.com/pubsub/docs/pull .

Not closing the client results in a resource leak, so i think it should be clear from the documentation.

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions