示例#1
0
def subscriber_client():
    subscriber_client = SubscriberClient()
    yield subscriber_client
    subscriber_client.close()
示例#2
0
def subscriber_client() -> Generator[pubsub_v1.SubscriberClient, None, None]:
    subscriber_client = SubscriberClient()
    yield subscriber_client
    subscriber_client.close()