Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ ahas_key
Method
ahas_key
django/contrib/sessions/backends/base.py:161–162 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
159
return
key in self._session
160
161
async
def
ahas_key(self, key):
162
return
key in (await self._aget_session())
163
164
def
keys(self):
165
return
self._session.keys()
Callers
2
aexists
Method · 0.45
alogin
Function · 0.45
Calls
1
_aget_session
Method · 0.95
Tested by
no test coverage detected