mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-04-01 06:03:39 +00:00
docs: correct crossreference in docs
This commit is contained in:
@@ -189,7 +189,7 @@ class BaseView(View, CorsViewMixin):
|
||||
"""
|
||||
get_method: Callable[..., Awaitable[StreamResponse]] | None = getattr(self, "get", None)
|
||||
# using if/else in order to suppress mypy warning which doesn't know that
|
||||
# ``_raise_allowed_methods`` raises exception
|
||||
# :func:`aiohttp.web.View._raise_allowed_methods()` raises exception
|
||||
if get_method is not None:
|
||||
# there is a bug in pylint, see https://github.com/pylint-dev/pylint/issues/6005
|
||||
response = await get_method()
|
||||
|
||||
Reference in New Issue
Block a user