code: def _format(self, obj):
      for cls in obj.__class__.mro():
          if cls in notebook_formatters.FORMATTER_REGISTRY:
              formatter = notebook_formatters.FORMATTER_REGISTRY[cls]
              return formatter.render(obj)
  
file_path: tfx/tfx/orchestration/experimental/interactive/notebook_formatters_test.py
imports: import re
  import tensorflow
  from tfx import types
  from tfx.orchestration.experimental.interactive import notebook_formatters
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling the NotebookFormattersTest obj's underlying member method code with example usage: obj._format(obj) and returns: formatter