Add documentation for close, and context manager for SubscriberClient #238
Labels
api: pubsub
Issues related to the googleapis/python-pubsub API.
type: docs
Improvement to the documentation for an API.
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.
The text was updated successfully, but these errors were encountered: