code: def run_api_experiment(config, data_parquet):
      # Sanity check that we get 4 slots over 1 host
      kwargs = get_horovod_kwargs()
      assert kwargs.get("num_workers") == 2
  
      # Train on Parquet
      dask_backend = RayBackend()
      assert train_with_backend(
          dask_backend, config, dataset=data_parquet, evaluate=False
      )
  
file_path: ray/python/ray/tests/ludwig/test_ludwig.py
imports: import contextlib
  import os
  import tempfile
  import pytest
  import ray
label_desc: Use image node_id 2 for calling a global function with example usage: run_api_experiment(config, data_parquet) without return types