code: def datasets_cache_directory(tmp_path: Path) -> Path:
      return tmp_path / "datasets"
  
imports: from collections.abc import Iterator
  from pathlib import Path
  from libcommon.queue import _clean_queue_database
  from libcommon.resources import CacheMongoResource, QueueMongoResource
  from libcommon.simple_cache import _clean_cache_database
  from libcommon.storage import StrPath, init_duckdb_index_cache_dir, init_parquet_metadata_dir, init_statistics_cache_dir
  from pytest import MonkeyPatch, fixture
  from worker.config import AppConfig
  from worker.main import WORKER_STATE_FILE_NAME
  from worker.resources import LibrariesResource
  from .constants import CI_APP_TOKEN, CI_HUB_ENDPOINT, CI_PARQUET_CONVERTER_APP_TOKEN, CI_URL_TEMPLATE
label_desc: Use image node_id 1 for calling a global function with example usage: datasets_cache_directory(tmp_path) and returns: unknown