(self, session)
| 261 | return session |
| 262 | |
| 263 | def put(self, session): |
| 264 | with sess_lock: |
| 265 | self.parent.put(session) |
| 266 | |
| 267 | # Do not store the session if skip paths |
| 268 | for sp in self.skip_paths: |
| 269 | if request.path.startswith(sp): |
| 270 | return |
| 271 | |
| 272 | if session.sid in self._cache: |
| 273 | try: |
| 274 | del self._cache[session.sid] |
| 275 | except Exception: |
| 276 | pass |
| 277 | |
| 278 | self._cache[session.sid] = session |
| 279 | self._normalize() |
| 280 | |
| 281 | |
| 282 | class FileBackedSessionManager(SessionManager): |
nothing calls this directly
no test coverage detected