Visitor faststream.redis.testing.Visitor # Bases: Protocol visit # visit(*, channel, list, stream, sub) Source code in faststream/redis/testing.py 259 260 261 262 263 264 265 266def visit( self, *, channel: Optional[str], list: Optional[str], stream: Optional[str], sub: "LogicSubscriber", ) -> Optional[str]: ... get_message # get_message(channel, body, sub) Source code in faststream/redis/testing.py 268def get_message(self, channel: str, body: Any, sub: "LogicSubscriber") -> Any: ...