MCPcopy Index your code
hub / github.com/webpy/webpy / _processor

Method _processor

web/session.py:88–97  ·  view source on GitHub ↗

Application processor to setup session for every request

(self, handler)

Source from the content-addressed store, hash-verified

86 delattr(self._data, name)
87
88 def _processor(self, handler):
89 """Application processor to setup session for every request"""
90
91 self._cleanup()
92 self._load()
93
94 try:
95 return handler()
96 finally:
97 self._save()
98
99 def _load(self):
100 """Load the session from the store, by the id from cookie"""

Callers

nothing calls this directly

Calls 3

_cleanupMethod · 0.95
_loadMethod · 0.95
_saveMethod · 0.95

Tested by

no test coverage detected