code: def get_namespace(dataset: str) -> Optional[str]:
      splits = dataset.split("/")
      return splits[0] if len(splits) == 2 else None
  
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 6 for calling a global function with example usage: get_namespace(dataset) and returns: unknown