Files
django-stubs/django/contrib/sessions/backends/cached_db.pyi
Maxim Kurnikov a9f215bf64 initial commit
2018-07-29 18:12:23 +03:00

16 lines
449 B
Python

from typing import (
Any,
Dict,
Optional,
)
class SessionStore:
def __init__(self, session_key: Optional[str] = ...) -> None: ...
@property
def cache_key(self) -> str: ...
def delete(self, session_key: Optional[str] = ...) -> None: ...
def exists(self, session_key: str) -> bool: ...
def flush(self) -> None: ...
def load(self) -> Dict[Any, Any]: ...
def save(self, must_create: bool = ...) -> None: ...