(self)
| 36 | return {} |
| 37 | |
| 38 | async def aload(self): |
| 39 | try: |
| 40 | session_data = await self._cache.aget(await self.acache_key()) |
| 41 | except Exception: |
| 42 | session_data = None |
| 43 | if session_data is not None: |
| 44 | return session_data |
| 45 | self._session_key = None |
| 46 | return {} |
| 47 | |
| 48 | def create(self): |
| 49 | # Because a cache can fail silently (e.g. memcache), we don't know if |
nothing calls this directly
no test coverage detected