Skip to content

Commit 84c29a4

Browse files
committed
add comments
1 parent 08c6f9a commit 84c29a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pulsar/asyncio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ async def subscribe(self, topic: Union[str, List[str]],
492492
----------
493493
topic: str, List[str], or regex pattern
494494
The name of the topic, list of topics or regex pattern.
495+
When `is_pattern_topic` is True, `topic` is treated as a regex.
495496
subscription_name: str
496497
The name of the subscription.
497498
consumer_type: pulsar.ConsumerType, default=pulsar.ConsumerType.Exclusive

0 commit comments

Comments
 (0)