mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 16:27:09 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
32
django-stubs-generated/core/cache/__init__.pyi
vendored
Normal file
32
django-stubs-generated/core/cache/__init__.pyi
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
from collections import OrderedDict
|
||||
from typing import Any, Callable, Dict, Union
|
||||
|
||||
from django.core.cache.backends.base import BaseCache as BaseCache
|
||||
|
||||
DEFAULT_CACHE_ALIAS: str
|
||||
|
||||
|
||||
class CacheHandler:
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def __getitem__(self, alias: str) -> BaseCache: ...
|
||||
|
||||
def all(self): ...
|
||||
|
||||
|
||||
class DefaultCacheProxy:
|
||||
def __getattr__(
|
||||
self, name: str
|
||||
) -> Union[Callable, Dict[str, float], OrderedDict, int]: ...
|
||||
|
||||
def __setattr__(self, name: str, value: Callable) -> None: ...
|
||||
|
||||
def __delattr__(self, name: Any): ...
|
||||
|
||||
def __contains__(self, key: str) -> bool: ...
|
||||
|
||||
def __eq__(self, other: Any): ...
|
||||
|
||||
|
||||
cache: Any
|
||||
caches: CacheHandler
|
||||
Reference in New Issue
Block a user