mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-21 05:17:10 +08:00
Update http.pyi (#502)
This commit is contained in:
1 parent
92eb068a04
commit
402b7d563f
1 file changed
+1
-1
@@ -3,7 +3,7 @@ from typing import Any, Callable, List, Optional, TypeVar
|
|||||||
_F = TypeVar("_F", bound=Callable[..., Any])
|
_F = TypeVar("_F", bound=Callable[..., Any])
|
||||||
|
|
||||||
def conditional_page(_F) -> _F: ...
|
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_GET(_F) -> _F: ...
|
||||||
def require_POST(_F) -> _F: ...
|
def require_POST(_F) -> _F: ...
|
||||||
def require_safe(_F) -> _F: ...
|
def require_safe(_F) -> _F: ...
|
||||||
|
|||||||
Reference in new issue
Block a user