class_docstr: Records telemetry events to memory for testing purposes.
class_docstr_tok: ["Records","telemetry","events","to","memory","for","testing","purposes","."]
code: def payloads(self) -> Sequence[TelemetryPayload]:  # noqa: D
      return self._payloads
  
file_path: metricflow/metricflow/telemetry/handlers/handlers.py
imports: from __future__ import annotations
  import logging
  from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Sequence
  from metricflow.telemetry.models import FunctionEndEvent, FunctionStartEvent, TelemetryPayload
label_desc: Use image node_id 3 for calling the ToMemoryTelemetryHandler obj's underlying member method code with example usage: obj.payloads() and returns: self