code: def get_job_runner(
      libraries_resource: LibrariesResource,
      cache_mongo_resource: CacheMongoResource,
      queue_mongo_resource: QueueMongoResource,
  ) -> GetJobRunner:
      def _get_job_runner(
          dataset: str,
          app_config: AppConfig,
      ) -> DatasetConfigNamesJobRunner:
          return DatasetConfigNamesJobRunner(
              job_info={
                  "type": DatasetConfigNamesJobRunner.get_job_type(),
                  "params": {
                      "dataset": dataset,
                      "revision": REVISION_NAME,
                      "config": None,
                      "split": None,
                  },
                  "job_id": "job_id",
                  "priority": Priority.NORMAL,
                  "difficulty": 50,
              },
              app_config=app_config,
              hf_datasets_cache=libraries_resource.hf_datasets_cache,
          )
  
      return _get_job_runner
  
file_path: datasets-server/services/worker/tests/job_runners/dataset/test_config_names.py
imports: from collections.abc import Callable
  from dataclasses import replace
  from unittest.mock import patch
  import pytest
  from libcommon.exceptions import CustomError
  from libcommon.resources import CacheMongoResource, QueueMongoResource
  from libcommon.utils import Priority
  from worker.config import AppConfig
  from worker.job_runners.dataset.config_names import DatasetConfigNamesJobRunner
  from worker.resources import LibrariesResource
  from ...fixtures.hub import HubDatasetTest
  from ..utils import REVISION_NAME
label_desc: Use image node_id 1 for calling a global function with example usage: get_job_runner(libraries_resource, cache_mongo_resource, queue_mongo_resource) and returns: _get_job_runner, DatasetConfigNamesJobRunner