code: def serializer() -> DataclassSerializer:  # noqa: D
      return DataclassSerializer()
  
file_path: metricflow/metricflow/test/test_instance_serialization.py
imports: from __future__ import annotations
  import logging
  import pytest
  from dbt_semantic_interfaces.dataclass_serialization import DataClassDeserializer, DataclassSerializer
  from metricflow.instances import InstanceSet
  from metricflow.test.fixtures.model_fixtures import ConsistentIdObjectRepository
label_desc: Use image node_id 1 for calling a global function with example usage: serializer() and returns: DataclassSerializer