code: def test_pydantic_model() -> None:  # noqa: D
      assert (
          "PydanticDimension(name='foo', type=CATEGORICAL, is_partition=False)"
          == mf_pformat(
              PydanticDimension(
                  name="foo", type=DimensionType.CATEGORICAL
              )
          )
      )
  
file_path: metricflow/metricflow/test/collection_helpers/test_pretty_print.py
imports: from __future__ import annotations
  import logging
  import textwrap
  from dbt_semantic_interfaces.implementations.elements.dimension import PydanticDimension
  from dbt_semantic_interfaces.type_enums import DimensionType
  from metricflow.mf_logging.formatting import indent
  from metricflow.mf_logging.pretty_print import mf_pformat, mf_pformat_many
  from metricflow.test.time.metric_time_dimension import MTD_SPEC_DAY
label_desc: Use image node_id 6 for calling a global function with example usage: test_pydantic_model() without return types