Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonxslays committed Aug 8, 2024
1 parent b19c60b commit 1c81235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wom/services/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1c81235

Please sign in to comment.