MCPcopy
hub / github.com/celery/celery / rpush

Method rpush

t/unit/backends/test_redis.py:128–129  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

126 return self.keyspace.setdefault(key, list())
127
128 def rpush(self, key, value):
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]

Calls 1

_get_unsorted_listMethod · 0.95

Tested by

no test coverage detected