class_docstr: Creates string representations of objects useful for logging / snapshots.
class_docstr_tok: ["Creates","string","representations","of","objects","useful","for","logging","\/","snapshots","."]
docstr: Return a pretty string representation of the object that's suitable for logging.
docstr_tok: ["Return","a","pretty","string","representation","of","the","object","that","'s","suitable","for","logging","."]
code: def pretty_format(self, obj: Any) -> str:  # type: ignore[misc]
      """Return a pretty string representation of the object that's suitable for logging."""
      return self._handle_any_obj(
          obj, remaining_line_width=self._max_line_width
      )
  
file_path: metricflow/metricflow/mf_logging/pretty_print.py
imports: from __future__ import annotations
  import logging
  import pprint
  from collections.abc import Mapping
  from dataclasses import fields, is_dataclass
  from enum import Enum
  from typing import Any, Dict, List, Optional, Sized, Union
  from pydantic import BaseModel
  from metricflow.mf_logging.formatting import indent
label_desc: Use image node_id 7 for calling the MetricFlowPrettyFormatter obj's underlying member method code with example usage: obj.pretty_format(obj) and returns: self