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

Method _append_chunk_size

redis/commands/timeseries/commands.py:1524–1527  ·  view source on GitHub ↗

Append CHUNK_SIZE property to params.

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

Source from the content-addressed store, hash-verified

1522
1523 @staticmethod
1524 def _append_chunk_size(params: list[EncodableT], chunk_size: int | None):
1525 """Append CHUNK_SIZE property to params."""
1526 if chunk_size is not None:
1527 params.extend(["CHUNK_SIZE", chunk_size])
1528
1529 @staticmethod
1530 def _append_duplicate_policy(

Callers 5

createMethod · 0.95
alterMethod · 0.95
addMethod · 0.95
incrbyMethod · 0.95
decrbyMethod · 0.95

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected