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