code: def _parse_import_fields(fields, media_field):
      if isinstance(fields, dict):
          fields.pop(media_field, None)
          fields = {k: v or str for k, v in fields.items()}
      elif fields is not None:
          if etau.is_str(fields):
              fields = [fields]
  
          fields = [f for f in fields if f != media_field]
  
      return fields
  
imports: import csv
  import os
  import eta.core.utils
  import fiftyone.core.utils
  import fiftyone.core.sample
  import fiftyone.utils.data
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_import_fields(fields, media_field) and returns: fields