code: def get_dataset_golden_types_path(dataset_name: str) -> str:
      """Returns the path to the golden types file for the given dataset."""
      return str(
          Path(__file__).resolve().parent
          / "golden"
          / f"{dataset_name}.types.json"
      )
  
imports: from pathlib import Path
  import ludwig.datasets
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataset_golden_types_path(dataset_name) and returns: str