MCPcopy Create free account
hub / github.com/encode/starlette / mark_modified

Method mark_modified

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

Source from the content-addressed store, hash-verified

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

Callers 7

__setitem__Method · 0.95
__delitem__Method · 0.95
clearMethod · 0.95
popitemMethod · 0.95
setdefaultMethod · 0.95
updateMethod · 0.95
__ior__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected