From 1c8123527bc4026cab709c2ebccfc45b76812a8a Mon Sep 17 00:00:00 2001 From: Jonxslays <51417989+Jonxslays@users.noreply.github.com> Date: Wed, 7 Aug 2024 20:49:24 -0700 Subject: [PATCH] Make mypy happy --- wom/services/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wom/services/http.py b/wom/services/http.py index f2ca5b9..2975965 100644 --- a/wom/services/http.py +++ b/wom/services/http.py @@ -109,7 +109,7 @@ def _get_request_func(self, method: str) -> t.Callable[..., t.Awaitable[t.Any]]: if not hasattr(self, "_method_mapping"): raise RuntimeError("HttpService.start was never called, aborting...") - return self._method_mapping[method] + return self._method_mapping[method] # type: ignore[return-value] async def _init_session(self) -> None: self._session = aiohttp.ClientSession(