mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-25 15:17:28 +08:00
merge with stubgen output
This commit is contained in:
1 parent
496a6274e7
commit
4866354600
294 files changed
+10234
-10842
No files matched your search
@@ -1,13 +1,18 @@
|
||||
from typing import (
|
||||
Callable,
|
||||
List,
|
||||
)
|
||||
# Stubs for django.views.decorators.http (Python 3.6)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any, Optional
|
||||
|
||||
from typing import Callable, List
|
||||
conditional_page: Any
|
||||
|
||||
def require_http_methods(request_method_list: List[str]) -> Callable: ...
|
||||
|
||||
require_GET: Any
|
||||
require_POST: Any
|
||||
require_safe: Any
|
||||
|
||||
def condition(etag_func: Callable = ..., last_modified_func: None = ...) -> Callable: ...
|
||||
|
||||
|
||||
def etag(etag_func: Callable) -> Callable: ...
|
||||
|
||||
|
||||
def require_http_methods(request_method_list: List[str]) -> Callable: ...
|
||||
def last_modified(last_modified_func: Any): ...
|
||||
Reference in new issue
Block a user