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

Method get_args

redis/commands/search/query.py:190–196  ·  view source on GitHub ↗

Format the redis arguments for this query and return them.

(self)

Source from the content-addressed store, hash-verified

188 return self
189
190 def get_args(self) -> List[Union[str, int, float]]:
191 """Format the redis arguments for this query and return them."""
192 args: List[Union[str, int, float]] = [self._query_string]
193 args += self._get_args_tags()
194 args += self._summarize_fields + self._highlight_fields
195 args += ["LIMIT", self._offset, self._num]
196 return args
197
198 def _get_args_tags(self) -> List[Union[str, int, float]]:
199 args: List[Union[str, int, float]] = []

Callers 9

_mk_query_argsMethod · 0.95
test_query_timeoutMethod · 0.45
test_query_timeoutMethod · 0.45
hybrid_searchMethod · 0.45
profileMethod · 0.45
hybrid_searchMethod · 0.45

Calls 1

_get_args_tagsMethod · 0.95