From efd6151c9b52d985746cbab1cb7ef365f0c3c787 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Thu, 22 Feb 2024 18:50:32 -0500 Subject: [PATCH] typing --- src/unfurlbot/handlers/kafka.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unfurlbot/handlers/kafka.py b/src/unfurlbot/handlers/kafka.py index 3a6185e..35eefc4 100644 --- a/src/unfurlbot/handlers/kafka.py +++ b/src/unfurlbot/handlers/kafka.py @@ -34,7 +34,7 @@ class SlackMessageContainer(BaseModel): ) async def handle_slack_message( body: str, - msg: str = KafkaMessage, + msg: KafkaMessage, topic: str = Context("message.topic"), ) -> None: """Handle a Slack message."""