Beispiel #1
0
 def inner():
     pubsub_helper.get_subscriber().acknowledge(
         subscription=pubsub_helper.get_subscription_path(
             scrape_key, pubsub_type=PUBSUB_TYPE),
         ack_ids=[ack_id])
Beispiel #2
0
 def inner() -> pubsub.types.PullResponse:
     return pubsub_helper.get_subscriber().pull(
         subscription=subscription_path,
         max_messages=1,
         return_immediately=return_immediately)