class_docstr: RedisTimeSeries Commands.
docstr: Append LABELS property to params.
code: def _append_labels(params: List[str], labels: Optional[List[str]]):
      """Append LABELS property to params."""
      if labels:
          params.append("LABELS")
          for k, v in labels.items():
              params.extend([k, v])
  
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 24 for calling the TimeSeriesCommands obj's underlying member method code with example usage: obj._append_labels(params, labels) without return types