code: def use_hub_prod_endpoint() -> Iterator[MonkeyPatch]:
      mp = MonkeyPatch()
      mp.setattr(
          "huggingface_hub.file_download.HUGGINGFACE_CO_URL_TEMPLATE",
          "https://huggingface.co/{repo_id}/resolve/{revision}/{filename}",
      )
      # ^ see https://github.com/huggingface/datasets/pull/5196#issuecomment-1322191056
      mp.setattr(
          "datasets.config.HF_ENDPOINT", "https://huggingface.co"
      )
      yield mp
      mp.undo()
  
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 6 for calling a global function with example usage: use_hub_prod_endpoint() without return types