Skip to content

Commit 5be3803

Browse files
nit: remove redundant/wrong Pub/Sub region tag (#4027)
1 parent e7763c3 commit 5be3803

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pubsub/cloud-client/subscriber.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ def callback(message):
348348

349349
def receive_messages_with_custom_attributes(project_id, subscription_id, timeout=None):
350350
"""Receives messages from a pull subscription."""
351-
# [START pubsub_subscriber_sync_pull_custom_attributes]
352351
# [START pubsub_subscriber_async_pull_custom_attributes]
353352
from concurrent.futures import TimeoutError
354353
from google.cloud import pubsub_v1
@@ -383,7 +382,6 @@ def callback(message):
383382
except TimeoutError:
384383
streaming_pull_future.cancel()
385384
# [END pubsub_subscriber_async_pull_custom_attributes]
386-
# [END pubsub_subscriber_sync_pull_custom_attributes]
387385

388386

389387
def receive_messages_with_flow_control(project_id, subscription_id, timeout=None):

0 commit comments

Comments
 (0)