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

Method revrange

redis/commands/timeseries/commands.py:882–897  ·  view source on GitHub ↗
(
        self: SyncClientProtocol,
        key: KeyT,
        from_time: int | str,
        to_time: int | str,
        count: int | None = None,
        aggregation_type: str | list[str] | None = None,
        bucket_size_msec: int | None = 0,
        filter_by_ts: List[int] | None = None,
        filter_by_min_value: int | None = None,
        filter_by_max_value: int | None = None,
        align: int | str | None = None,
        latest: bool | None = False,
        bucket_timestamp: str | None = None,
        empty: bool | None = False,
    )

Source from the content-addressed store, hash-verified

880
881 @overload
882 def revrange(
883 self: SyncClientProtocol,
884 key: KeyT,
885 from_time: int | str,
886 to_time: int | str,
887 count: int | None = None,
888 aggregation_type: str | list[str] | None = None,
889 bucket_size_msec: int | None = 0,
890 filter_by_ts: List[int] | None = None,
891 filter_by_min_value: int | None = None,
892 filter_by_max_value: int | None = None,
893 align: int | str | None = None,
894 latest: bool | None = False,
895 bucket_timestamp: str | None = None,
896 empty: bool | None = False,
897 ) -> TimeSeriesRangeResponse: ...
898
899 @overload
900 def revrange(

Calls 2

__range_paramsMethod · 0.95
execute_commandMethod · 0.45