Load the session data and return a dictionary.
(self)
| 502 | return await sync_to_async(self.delete)(session_key) |
| 503 | |
| 504 | def load(self): |
| 505 | """ |
| 506 | Load the session data and return a dictionary. |
| 507 | """ |
| 508 | raise NotImplementedError( |
| 509 | "subclasses of SessionBase must provide a load() method" |
| 510 | ) |
| 511 | |
| 512 | async def aload(self): |
| 513 | return await sync_to_async(self.load)() |