MCPcopy
hub / github.com/redis/redis-py / sort

Method sort

redis/commands/core.py:5222–5233  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        name: KeyT,
        start: int | None = None,
        num: int | None = None,
        by: str | None = None,
        get: list[str] | None = None,
        desc: bool = False,
        alpha: bool = False,
        store: str | None = None,
        groups: bool | None = False,
    )

Source from the content-addressed store, hash-verified

5220
5221 @overload
5222 def sort(
5223 self: SyncClientProtocol,
5224 name: KeyT,
5225 start: int | None = None,
5226 num: int | None = None,
5227 by: str | None = None,
5228 get: list[str] | None = None,
5229 desc: bool = False,
5230 alpha: bool = False,
5231 store: str | None = None,
5232 groups: bool | None = False,
5233 ) -> SortResponse: ...
5234
5235 @overload
5236 def sort(

Callers 15

sort_roMethod · 0.95
home_json.pyFile · 0.80
test_sort_basicMethod · 0.80
test_sort_limitedMethod · 0.80
test_sort_byMethod · 0.80
test_sort_getMethod · 0.80
test_sort_get_multiMethod · 0.80

Calls 4

DataErrorClass · 0.90
extendMethod · 0.45
appendMethod · 0.45
execute_commandMethod · 0.45

Tested by 15

test_sort_basicMethod · 0.64
test_sort_limitedMethod · 0.64
test_sort_byMethod · 0.64
test_sort_getMethod · 0.64
test_sort_get_multiMethod · 0.64
test_sort_descMethod · 0.64
test_sort_alphaMethod · 0.64