code: def _get_converter_instance():
      import library.python.import_tracing.lib.converters.raw as text_converter
      import library.python.import_tracing.lib.converters.chrometrace as chrome_converter
  
      converter_mapping = {
          "text": text_converter.RawTextTraceConverter,
          "evlog": chrome_converter.ChromiumTraceConverter,
      }
  
      env_val = os.getenv("Y_PYTHON_TRACE_FORMAT")
  
      converter = converter_mapping.get(
          env_val, text_converter.RawTextTraceConverter
      )
  
      return converter()
  
imports: import collections
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _get_converter_instance() and returns: converter