Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/starlette
/ clear
Method
clear
starlette/middleware/sessions.py:110–112 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
108
super().__delitem__(key)
109
110
def
clear(self) -> None:
111
self.mark_modified()
112
super().clear()
113
114
def
pop(self, key: str, *args: typing.Any) -> typing.Any:
115
self.modified = self.modified or key in self
Callers
1
test_session_tracks_modification
Function · 0.95
Calls
1
mark_modified
Method · 0.95
Tested by
1
test_session_tracks_modification
Function · 0.76