From 5be3803c8c9edaba0bdb2a902bbdecc1f2e4a6b8 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Thu, 11 Jun 2020 12:31:06 -0700 Subject: [PATCH] nit: remove redundant/wrong Pub/Sub region tag (#4027) --- pubsub/cloud-client/subscriber.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pubsub/cloud-client/subscriber.py b/pubsub/cloud-client/subscriber.py index 677bfe359fd1..a367f181c04b 100644 --- a/pubsub/cloud-client/subscriber.py +++ b/pubsub/cloud-client/subscriber.py @@ -348,7 +348,6 @@ def callback(message): def receive_messages_with_custom_attributes(project_id, subscription_id, timeout=None): """Receives messages from a pull subscription.""" - # [START pubsub_subscriber_sync_pull_custom_attributes] # [START pubsub_subscriber_async_pull_custom_attributes] from concurrent.futures import TimeoutError from google.cloud import pubsub_v1 @@ -383,7 +382,6 @@ def callback(message): except TimeoutError: streaming_pull_future.cancel() # [END pubsub_subscriber_async_pull_custom_attributes] - # [END pubsub_subscriber_sync_pull_custom_attributes] def receive_messages_with_flow_control(project_id, subscription_id, timeout=None):