From 3e408fbe6971f3bc4549cd741f2d3dd923ac83d5 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Fri, 13 Nov 2026 17:27:46 +0300 Subject: [PATCH] fix: update renamed ty return diagnostic --- faststream_outbox/subscriber/usecase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faststream_outbox/subscriber/usecase.py b/faststream_outbox/subscriber/usecase.py index a32568f..c80d4d9 100644 --- a/faststream_outbox/subscriber/usecase.py +++ b/faststream_outbox/subscriber/usecase.py @@ -1078,7 +1078,7 @@ def _make_response_publisher( # SubscriberUsecase.process_message calls on a response publisher) but skips # the ``publish``/``request`` boilerplate from the native FakePublisher base. # Safe to ignore — those methods are unreachable for response publishers. - return (OutboxFakePublisher(producer=self._outer_config.producer),) # ty: ignore[invalid-return-type] + return (OutboxFakePublisher(producer=self._outer_config.producer),) # ty: ignore[invalid-explicit-return] @override async def process_message(self, msg: OutboxInnerMessage) -> "Response": # noqa: C901