diff --git a/fixcloudutils/redis/event_stream.py b/fixcloudutils/redis/event_stream.py index f6d1882..2738ef4 100644 --- a/fixcloudutils/redis/event_stream.py +++ b/fixcloudutils/redis/event_stream.py @@ -201,7 +201,7 @@ async def _handle_stream_messages_parallel(self, messages: List[Any], max_parall Handle messages in parallel in unordered fasion. The number of parallel tasks is limited by max_parallelism. """ - async def handle_and_ack(msg: Any, message_id: StreamIdT): + async def handle_and_ack(msg: Any, message_id: StreamIdT) -> None: await self._handle_single_message(msg) await self.redis.xack(self.stream, self.group, message_id)