fourth iteration

This commit is contained in:
Maxim Kurnikov
2018-08-11 02:23:18 +03:00
parent c6bceb19f4
commit 8cc446150c
113 changed files with 2285 additions and 9835 deletions

View File

@@ -1,9 +1,6 @@
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
from typing import Any, Callable, Dict, Optional, Union
from django.core.cache.backends.base import BaseCache
from django.db.models.base import Model
from django.db.models.query import QuerySet
from django.http.response import HttpResponse
class FileBasedCache(BaseCache):
@@ -38,27 +35,7 @@ class FileBasedCache(BaseCache):
def set(
self,
key: str,
value: Union[
Dict[
str,
Union[
Callable,
Dict[str, int],
List[int],
Tuple[int, int, int, int],
Type[Any],
int,
str,
],
],
List[Any],
bytes,
Model,
QuerySet,
HttpResponse,
int,
str,
],
value: Any,
timeout: Any = ...,
version: Optional[int] = ...,
) -> None: ...