mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-03-01 12:56:52 +08:00
improved version
This commit is contained in:
4
django/core/cache/backends/db.pyi
vendored
4
django/core/cache/backends/db.pyi
vendored
@@ -10,11 +10,11 @@ from typing import (
|
||||
|
||||
|
||||
class BaseDatabaseCache:
|
||||
def __init__(self, table: str, params: Dict[str, Union[int, Callable, str, Dict[str, int]]]) -> None: ...
|
||||
def __init__(self, table: str, params: Dict[str, Union[Callable, Dict[str, int], str, int]]) -> None: ...
|
||||
|
||||
|
||||
class DatabaseCache:
|
||||
def _base_set(self, mode: str, key: str, value: Any, timeout: object = ...): ...
|
||||
def _base_set(self, mode: str, key: str, value: object, timeout: object = ...): ...
|
||||
def _cull(self, db: str, cursor: CursorWrapper, now: datetime) -> None: ...
|
||||
def add(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user