code: def test_get_config_and_load(tmpdir):
      yosemite_config = ludwig.datasets._get_dataset_config("yosemite")
      assert isinstance(yosemite_config, DatasetConfig)
  
      yosemite_dataset = ludwig.datasets.get_dataset(
          "yosemite", cache_dir=tmpdir
      )
      assert isinstance(yosemite_dataset, DatasetLoader)
      df = yosemite_dataset.load()
      assert df is not None
      assert len(df) == 18721
  
imports: import ludwig.datasets
  from ludwig.datasets.dataset_config import DatasetConfig
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
  from tests.integration_tests.utils import private_test
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_config_and_load(tmpdir) without return types