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