class_docstr: RedisTimeSeries Commands.
docstr: Create TS.MRANGE and TS.MREVRANGE arguments.
code: def __mrange_params(
      self,
      aggregation_type: Optional[str],
      bucket_size_msec: Optional[int],
      count: Optional[int],
      filters: List[str],
      from_time: Union[int, str],
      to_time: Union[int, str],
      with_labels: Optional[bool],
      filter_by_ts: Optional[List[int]],
      filter_by_min_value: Optional[int],
      filter_by_max_value: Optional[int],
      groupby: Optional[str],
      reduce: Optional[str],
      select_labels: Optional[List[str]],
      align: Optional[Union[int, str]],
      latest: Optional[bool],
      bucket_timestamp: Optional[str],
      empty: Optional[bool],
  ):
      """Create TS.MRANGE and TS.MREVRANGE arguments."""
      params = [from_time, to_time]
      self._append_latest(params, latest)
      self._append_filer_by_ts(params, filter_by_ts)
      self._append_filer_by_value(
          params, filter_by_min_value, filter_by_max_value
      )
      self._append_with_labels(params, with_labels, select_labels)
      self._append_count(params, count)
      self._append_align(params, align)
      self._append_aggregation(
          params, aggregation_type, bucket_size_msec
      )
      self._append_bucket_timestamp(params, bucket_timestamp)
      self._append_empty(params, empty)
      params.extend(["FILTER"])
      params += filters
      self._append_groupby_reduce(params, groupby, reduce)
      return params
  
imports: from typing import Dict, List, Optional, Tuple, Union
  from redis.exceptions import DataError
  from redis.typing import KeyT, Number
label_desc: Use image node_id 13 for calling the TimeSeriesCommands obj's underlying member method code with example usage: obj.__mrange_params(aggregation_type, bucket_size_msec, count, filters, from_time, to_time, with_labels, filter_by_ts, filter_by_min_value, filter_by_max_value, groupby, reduce, select_labels, align, latest, bucket_timestamp, empty) and returns: params