mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
16 lines
449 B
Python
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: ... |