Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions dapr/clients/grpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,6 @@ def subscribe(
topic (str): The name of the topic.
metadata (Optional[MetadataTuple]): Additional metadata for the subscription.
dead_letter_topic (Optional[str]): Name of the dead-letter topic.
timeout (Optional[int]): The time in seconds to wait for a message before returning None
If not set, the `next_message` method will block indefinitely
until a message is received.

Returns:
Subscription: The Subscription object managing the stream.
Expand All @@ -528,9 +525,6 @@ def subscribe_with_handler(
handler_fn (Callable[..., TopicEventResponse]): The function to call when a message is received.
metadata (Optional[MetadataTuple]): Additional metadata for the subscription.
dead_letter_topic (Optional[str]): Name of the dead-letter topic.
timeout (Optional[int]): The time in seconds to wait for a message before returning None
If not set, the `next_message` method will block indefinitely
until a message is received.
"""
subscription = self.subscribe(pubsub_name, topic, metadata, dead_letter_topic)

Expand Down