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

Method append_expansion

redis/commands/bf/__init__.py:46–49  ·  view source on GitHub ↗

Append EXPANSION to params.

(params, expansion)

Source from the content-addressed store, hash-verified

44
45 @staticmethod
46 def append_expansion(params, expansion):
47 """Append EXPANSION to params."""
48 if expansion is not None:
49 params.extend(["EXPANSION", expansion])
50
51 @staticmethod
52 def append_no_scale(params, noScale):

Callers 3

createMethod · 0.80
insertMethod · 0.80
createMethod · 0.80

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected