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

Method createrule

redis/commands/timeseries/commands.py:667–674  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        source_key: KeyT,
        dest_key: KeyT,
        aggregation_type: str,
        bucket_size_msec: int,
        align_timestamp: int | None = None,
    )

Source from the content-addressed store, hash-verified

665
666 @overload
667 def createrule(
668 self: SyncClientProtocol,
669 source_key: KeyT,
670 dest_key: KeyT,
671 aggregation_type: str,
672 bucket_size_msec: int,
673 align_timestamp: int | None = None,
674 ) -> bool: ...
675
676 @overload
677 def createrule(

Callers 9

dt_time_series.pyFile · 0.80
test_range_latestFunction · 0.80
test_revrange_latestFunction · 0.80
test_mrange_latestFunction · 0.80
test_mrevrange_latestFunction · 0.80
test_get_latestFunction · 0.80
test_mget_latestFunction · 0.80

Calls 3

_append_aggregationMethod · 0.95
appendMethod · 0.45
execute_commandMethod · 0.45

Tested by 8

test_range_latestFunction · 0.64
test_revrange_latestFunction · 0.64
test_mrange_latestFunction · 0.64
test_mrevrange_latestFunction · 0.64
test_get_latestFunction · 0.64
test_mget_latestFunction · 0.64