code: def _test_labelbox_image(dataset, label_field):
      labelbox_export_path = "/tmp/labelbox-image-export.json"
      labelbox_import_path = "/tmp/labelbox-image-import.json"
      labelbox_id_field = "labelbox_id"
  
      # Generate fake Labelbox IDs, since we haven't actually uploaded there
      for sample in dataset:
          sample[labelbox_id_field] = str(uuid4())
          sample.save()
  
      # Export labels in Labelbox format
      foul.export_to_labelbox(
          dataset,
          labelbox_export_path,
          labelbox_id_field=labelbox_id_field,
          label_field=label_field,
      )
  
      # Convert to Labelbox import format
      foul.convert_labelbox_export_to_import(
          labelbox_export_path, labelbox_import_path
      )
  
      # Import labels from Labelbox
      foul.import_from_labelbox(
          dataset,
          labelbox_import_path,
          label_prefix="lb",
          labelbox_id_field=labelbox_id_field,
      )
  
      # Verify that we have two copies of the same labels
      session = fo.launch_app(dataset)
      session.wait()
  
file_path: fiftyone/tests/intensive/labelbox_tests.py
imports: import unittest
  from uuid import uuid4
  import eta.core.utils
  import eta.core.web
  import fiftyone
  import fiftyone.zoo
  import fiftyone.utils.labelbox
label_desc: Use image node_id 4 for calling a global function with example usage: _test_labelbox_image(dataset, label_field) without return types