code: def make_builder_configs(dataset: DataSource):
      """Creates the PH build configs."""
      configs = []
      for task, details in TASKS.items():
          if dataset in details["datasets"]:
              for observation_type in [
                  ObservationType.IMAGE,
                  ObservationType.LOW_DIM,
              ]:
                  # pytype: disable=wrong-keyword-args
                  configs.append(
                      # name is inherited from base dataclass unbeknownst to the linter
                      BuilderConfig(  # pylint: disable=unexpected-keyword-arg
                          name=f"{task}_{dataset}_{observation_type}",
                          task=task,
                          dataset=dataset,
                          filename=observation_type,
                          horizon=details["horizon"],
                      )
                  )
                  # pytype: enable=wrong-keyword-args
      return configs
  
imports: import dataclasses
  import enum
  from typing import Any, Dict, List, Mapping
  from etils import epath
  import h5py
  import numpy
  import tensorflow_datasets.public_api
  import tree
label_desc: Use image node_id 1 for calling a global function with example usage: make_builder_configs(dataset) and returns: configs