mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 08:47:49 +08:00
initial commit
This commit is contained in:
16
django/contrib/sessions/backends/cached_db.pyi
Normal file
16
django/contrib/sessions/backends/cached_db.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user