Append LABELS property to params.
(params: list[EncodableT], labels: dict[str, str] | None)
| 1481 | |
| 1482 | @staticmethod |
| 1483 | def _append_labels(params: list[EncodableT], labels: dict[str, str] | None): |
| 1484 | """Append LABELS property to params.""" |
| 1485 | if labels: |
| 1486 | params.append("LABELS") |
| 1487 | for k, v in labels.items(): |
| 1488 | params.extend([k, v]) |
| 1489 | |
| 1490 | @staticmethod |
| 1491 | def _append_count(params: list[EncodableT], count: int | None): |