MCPcopy
hub / github.com/celery/celery / lrange

Method lrange

t/unit/backends/test_redis.py:131–132  ·  view source on GitHub ↗
(self, key, start, stop)

Source from the content-addressed store, hash-verified

129 self._get_unsorted_list(key).append(value)
130
131 def lrange(self, key, start, stop):
132 return self._get_unsorted_list(key)[start:stop]
133
134 def llen(self, key):
135 return len(self._get_unsorted_list(key))

Calls 1

_get_unsorted_listMethod · 0.95

Tested by

no test coverage detected