MCPcopy
hub / github.com/encode/starlette / mark_modified

Method mark_modified

starlette/middleware/sessions.py:98–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 self.accessed = True
97
98 def mark_modified(self) -> None:
99 self.accessed = True
100 self.modified = True
101
102 def __setitem__(self, key: str, value: typing.Any) -> None:
103 self.mark_modified()

Callers 5

__setitem__Method · 0.95
__delitem__Method · 0.95
clearMethod · 0.95
setdefaultMethod · 0.95
updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected