class_docstr: Records telemetry events to memory for testing purposes.
class_docstr_tok: ["Records","telemetry","events","to","memory","for","testing","purposes","."]
code: def __init__(self) -> None:  # noqa: D
      self._payloads: List[TelemetryPayload] = []
  
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 1 to create a new ToMemoryTelemetryHandler object from inherited base classes: TelemetryHandler with example: obj = ToMemoryTelemetryHandler()