MCPcopy
hub / github.com/jazzband/django-constance / aget

Method aget

constance/backends/redisd.py:67–72  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

65 return None
66
67 async def aget(self, key):
68 self._check_async_support()
69 value = await self._ard.get(self.add_prefix(key))
70 if value:
71 return loads(value)
72 return None
73
74 def mget(self, keys):
75 if not keys:

Callers 2

asetMethod · 0.95
_aget_unlockedMethod · 0.45

Calls 4

_check_async_supportMethod · 0.95
add_prefixMethod · 0.95
loadsFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected