MCPcopy
hub / github.com/django/django / load

Method load

django/contrib/sessions/backends/base.py:504–510  ·  view source on GitHub ↗

Load the session data and return a dictionary.

(self)

Source from the content-addressed store, hash-verified

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)()

Callers 1

_get_sessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected