code: def get_utt_obj_pp_string(utt_obj):
      @register_pretty(Word)
      def pretty_utterance(value, ctx):
          return pretty_call(
              ctx,
              Word,
              text=value.text,
              s_start=value.s_start,
              s_end=value.s_end,
              t_start=value.t_start,
              t_end=value.t_end,
              tokens=value.tokens,
          )
  
      @register_pretty(Segment)
      def pretty_utterance(value, ctx):
          return pretty_call(
              ctx,
              Segment,
              text=value.text,
              s_start=value.s_start,
              s_end=value.s_end,
              t_start=value.t_start,
              t_end=value.t_end,
              words_and_tokens=value.words_and_tokens,
          )
  
      @register_pretty(Utterance)
      def pretty_utterance(value, ctx):
          return pretty_call(
              ctx,
              Utterance,
              text=value.text,
              token_ids_with_blanks=value.token_ids_with_blanks,
              segments_and_tokens=value.segments_and_tokens,
              audio_filepath=value.audio_filepath,
              utt_id=value.utt_id,
          )
  
      return prettyprinter.pformat(utt_obj)
  
imports: import prettyprinter
  import pytest
  from prettyprinter import pretty_call, register_pretty
  from utils.data_prep import Segment, Token, Utterance, Word, get_utt_obj
  from nemo.collections.asr.models import ASRModel
label_desc: Use image node_id 1 for calling a global function with example usage: get_utt_obj_pp_string(utt_obj) and returns: prettyprinter, pretty_call, pretty_call, pretty_call