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

Method zadd

redis/commands/core.py:7944–7954  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        name: KeyT,
        mapping: Mapping[AnyKeyT, EncodableT],
        nx: bool = False,
        xx: bool = False,
        ch: bool = False,
        incr: bool = False,
        gt: bool = False,
        lt: bool = False,
    )

Source from the content-addressed store, hash-verified

7942
7943 @overload
7944 def zadd(
7945 self: SyncClientProtocol,
7946 name: KeyT,
7947 mapping: Mapping[AnyKeyT, EncodableT],
7948 nx: bool = False,
7949 xx: bool = False,
7950 ch: bool = False,
7951 incr: bool = False,
7952 gt: bool = False,
7953 lt: bool = False,
7954 ) -> int | float | None: ...
7955
7956 @overload
7957 def zadd(

Callers 15

cmds_sorted_set.pyFile · 0.80
dt_ss.pyFile · 0.80
cmds_generic.pyFile · 0.80
test_typeMethod · 0.80
test_zscanMethod · 0.80
test_zscan_iterMethod · 0.80
test_zaddMethod · 0.80
test_zadd_nxMethod · 0.80
test_zadd_xxMethod · 0.80
test_zadd_chMethod · 0.80
test_zadd_incrMethod · 0.80

Calls 3

DataErrorClass · 0.90
appendMethod · 0.45
execute_commandMethod · 0.45

Tested by 15

test_typeMethod · 0.64
test_zscanMethod · 0.64
test_zscan_iterMethod · 0.64
test_zaddMethod · 0.64
test_zadd_nxMethod · 0.64
test_zadd_xxMethod · 0.64
test_zadd_chMethod · 0.64
test_zadd_incrMethod · 0.64
test_zadd_gt_ltMethod · 0.64
test_zcardMethod · 0.64
test_zcountMethod · 0.64