requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-01-28 15:32:21 -08:00
committed by Tim Abbott
parent e56863fa85
commit 93198a19ed
68 changed files with 2602 additions and 2496 deletions

View File

@@ -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
]