Skip to content

Commit dc994ee

Browse files
fix subscribe docstring typo (#883)
* fix subscribe docstring typo Signed-off-by: farmer <farmerchillax@outlook.com> * fix subscribe docstring typo Signed-off-by: farmer <farmerchillax@outlook.com> --------- Signed-off-by: farmer <farmerchillax@outlook.com>
1 parent 15c4b64 commit dc994ee

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

dapr/clients/grpc/client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,6 @@ def subscribe(
500500
topic (str): The name of the topic.
501501
metadata (Optional[MetadataTuple]): Additional metadata for the subscription.
502502
dead_letter_topic (Optional[str]): Name of the dead-letter topic.
503-
timeout (Optional[int]): The time in seconds to wait for a message before returning None
504-
If not set, the `next_message` method will block indefinitely
505-
until a message is received.
506503
507504
Returns:
508505
Subscription: The Subscription object managing the stream.
@@ -528,9 +525,6 @@ def subscribe_with_handler(
528525
handler_fn (Callable[..., TopicEventResponse]): The function to call when a message is received.
529526
metadata (Optional[MetadataTuple]): Additional metadata for the subscription.
530527
dead_letter_topic (Optional[str]): Name of the dead-letter topic.
531-
timeout (Optional[int]): The time in seconds to wait for a message before returning None
532-
If not set, the `next_message` method will block indefinitely
533-
until a message is received.
534528
"""
535529
subscription = self.subscribe(pubsub_name, topic, metadata, dead_letter_topic)
536530

0 commit comments

Comments
 (0)