We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7763c3 commit 5be3803Copy full SHA for 5be3803
pubsub/cloud-client/subscriber.py
@@ -348,7 +348,6 @@ def callback(message):
348
349
def receive_messages_with_custom_attributes(project_id, subscription_id, timeout=None):
350
"""Receives messages from a pull subscription."""
351
- # [START pubsub_subscriber_sync_pull_custom_attributes]
352
# [START pubsub_subscriber_async_pull_custom_attributes]
353
from concurrent.futures import TimeoutError
354
from google.cloud import pubsub_v1
@@ -383,7 +382,6 @@ def callback(message):
383
382
except TimeoutError:
384
streaming_pull_future.cancel()
385
# [END pubsub_subscriber_async_pull_custom_attributes]
386
- # [END pubsub_subscriber_sync_pull_custom_attributes]
387
388
389
def receive_messages_with_flow_control(project_id, subscription_id, timeout=None):
0 commit comments