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

Method _append_count

redis/commands/timeseries/commands.py:1491–1494  ·  view source on GitHub ↗

Append COUNT property to params.

(params: list[EncodableT], count: int | None)

Source from the content-addressed store, hash-verified

1489
1490 @staticmethod
1491 def _append_count(params: list[EncodableT], count: int | None):
1492 """Append COUNT property to params."""
1493 if count is not None:
1494 params.extend(["COUNT", count])
1495
1496 @staticmethod
1497 def _append_timestamp(params: list[EncodableT], timestamp: int | None):

Callers 2

__range_paramsMethod · 0.95
__mrange_paramsMethod · 0.95

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected