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

Method _append_latest

redis/commands/timeseries/commands.py:1558–1561  ·  view source on GitHub ↗

Append LATEST property to params.

(params: list[EncodableT], latest: bool | None)

Source from the content-addressed store, hash-verified

1556
1557 @staticmethod
1558 def _append_latest(params: list[EncodableT], latest: bool | None):
1559 """Append LATEST property to params."""
1560 if latest:
1561 params.append("LATEST")
1562
1563 @staticmethod
1564 def _append_bucket_timestamp(

Callers 4

__range_paramsMethod · 0.95
__mrange_paramsMethod · 0.95
getMethod · 0.95
mgetMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected