code: def create_link(
      text: str,
      dataset: str,
      hf_endpoint: str,
      revision_type: Literal["commit", "tree"],
      revision: str,
  ) -> str:
      return f"[`{text}`]({hf_endpoint}/datasets/{dataset}/{revision_type}/{parse.quote(revision, safe='')})"
  
file_path: datasets-server/jobs/cache_maintenance/src/cache_maintenance/discussions.py
imports: import logging
  from time import sleep
  from typing import Literal, Optional, TypedDict
  from urllib import parse
  from huggingface_hub import HfApi
  from huggingface_hub.constants import REPO_TYPE_DATASET
  from libcommon.simple_cache import get_datasets_with_last_updated_kind
label_desc: Use image node_id 4 for calling a global function with example usage: create_link(text, dataset, hf_endpoint, revision_type, revision) and returns: str, text, str, hf_endpoint, str, dataset, str, revision_type, str, parse, str