mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 20:54:29 +08:00
14 lines
394 B
Python
14 lines
394 B
Python
from datetime import datetime
|
|
from typing import (
|
|
Dict,
|
|
Optional,
|
|
Union,
|
|
)
|
|
|
|
|
|
class SessionStore:
|
|
def _get_session_key(self) -> str: ...
|
|
def delete(self, session_key: Optional[str] = ...) -> None: ...
|
|
def exists(self, session_key: str = ...) -> bool: ...
|
|
def load(self) -> Dict[str, Union[str, datetime]]: ...
|
|
def save(self, must_create: bool = ...) -> None: ... |