Skip to content

Commit 402b7d5

Browse files
authored
Update http.pyi (#502)
1 parent 92eb068 commit 402b7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django-stubs/views/decorators/http.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from typing import Any, Callable, List, Optional, TypeVar
33
_F = TypeVar("_F", bound=Callable[..., Any])
44

55
def conditional_page(_F) -> _F: ...
6-
def require_http_methods(request_method_list: List[str]) -> Callable: ...
6+
def require_http_methods(request_method_list: List[str]) -> Callable[[_F], _F]: ...
77
def require_GET(_F) -> _F: ...
88
def require_POST(_F) -> _F: ...
99
def require_safe(_F) -> _F: ...

0 commit comments

Comments
 (0)