MCPcopy
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

Calls 1

mark_modifiedMethod · 0.95

Tested by 1