class_docstr: RedisTimeSeries Commands.
docstr: Append (or create and append) a new `value` to series
  `key` with `timestamp`.
  Expects a list of `tuples` as (`key`,`timestamp`, `value`).
  Return value is an array with timestamps of insertions.
  
  For more information: https://redis.io/commands/ts.madd/
code: def madd(
      self, ktv_tuples: List[Tuple[KeyT, Union[int, str], Number]]
  ):
      """
      Append (or create and append) a new `value` to series
      `key` with `timestamp`.
      Expects a list of `tuples` as (`key`,`timestamp`, `value`).
      Return value is an array with timestamps of insertions.
  
      For more information: https://redis.io/commands/ts.madd/
      """  # noqa
      params = []
      for ktv in ktv_tuples:
          params.extend(ktv)
  
      return self.execute_command(MADD_CMD, *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 4 for calling the TimeSeriesCommands obj's underlying member method code with example usage: obj.madd(ktv_tuples) and returns: self