We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92eb068 commit 402b7d5Copy full SHA for 402b7d5
django-stubs/views/decorators/http.pyi
@@ -3,7 +3,7 @@ from typing import Any, Callable, List, Optional, TypeVar
3
_F = TypeVar("_F", bound=Callable[..., Any])
4
5
def conditional_page(_F) -> _F: ...
6
-def require_http_methods(request_method_list: List[str]) -> Callable: ...
+def require_http_methods(request_method_list: List[str]) -> Callable[[_F], _F]: ...
7
def require_GET(_F) -> _F: ...
8
def require_POST(_F) -> _F: ...
9
def require_safe(_F) -> _F: ...
0 commit comments