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

Method _append_align

redis/commands/timeseries/commands.py:1503–1506  ·  view source on GitHub ↗

Append ALIGN property to params.

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

Source from the content-addressed store, hash-verified

1501
1502 @staticmethod
1503 def _append_align(params: list[EncodableT], align: int | str | None):
1504 """Append ALIGN property to params."""
1505 if align is not None:
1506 params.extend(["ALIGN", align])
1507
1508 @staticmethod
1509 def _append_aggregation(

Callers 2

__range_paramsMethod · 0.95
__mrange_paramsMethod · 0.95

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected