mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
e56863fa85
commit
93198a19ed
@@ -45,9 +45,11 @@ def generate_topics(num_topics: int) -> List[str]:
|
||||
resolved_topic_probability = 0.05
|
||||
|
||||
return [
|
||||
RESOLVED_TOPIC_PREFIX + topic_name
|
||||
if random.random() < resolved_topic_probability
|
||||
else topic_name
|
||||
(
|
||||
RESOLVED_TOPIC_PREFIX + topic_name
|
||||
if random.random() < resolved_topic_probability
|
||||
else topic_name
|
||||
)
|
||||
for topic_name in topic_names
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user