better stubs

This commit is contained in:
Maxim Kurnikov
2018-08-05 03:13:19 +03:00
parent 4013fe4d03
commit fa718b8e55
380 changed files with 11805 additions and 8503 deletions

View File

@@ -1,10 +1,4 @@
# 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
from typing import Any, Callable, List, Optional
conditional_page: Any
@@ -14,6 +8,9 @@ require_GET: Any
require_POST: Any
require_safe: Any
def condition(etag_func: Callable = ..., last_modified_func: None = ...) -> Callable: ...
def condition(
etag_func: Optional[Callable] = ...,
last_modified_func: Optional[Callable] = ...,
) -> Callable: ...
def etag(etag_func: Callable) -> Callable: ...
def last_modified(last_modified_func: Any): ...
def last_modified(last_modified_func: Callable) -> Callable: ...