Skip to content

Commit

Permalink
lint: fix rabbit mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Sep 8, 2024
1 parent d52e1fb commit fbafc62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions faststream/rabbit/subscriber/usecase.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ async def close(self) -> None:

self._queue_obj = None

@override
async def get_one(
self,
*,
Expand Down Expand Up @@ -223,6 +224,8 @@ async def get_one(
parsed_msg._decoded_body = await self._decoder(parsed_msg)
return await return_msg(parsed_msg)

raise AssertionError("unreachable")

def _make_response_publisher(
self,
message: "StreamMessage[Any]",
Expand Down

0 comments on commit fbafc62

Please sign in to comment.