Skip to content

Commit

Permalink
Update http.pyi (typeddjango#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Oct 25, 2020
1 parent 92eb068 commit 402b7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/views/decorators/http.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from typing import Any, Callable, List, Optional, TypeVar
_F = TypeVar("_F", bound=Callable[..., Any])

def conditional_page(_F) -> _F: ...
def require_http_methods(request_method_list: List[str]) -> Callable: ...
def require_http_methods(request_method_list: List[str]) -> Callable[[_F], _F]: ...
def require_GET(_F) -> _F: ...
def require_POST(_F) -> _F: ...
def require_safe(_F) -> _F: ...
Expand Down

0 comments on commit 402b7d5

Please sign in to comment.