code: def _raise_dist_error(name: str, dist: str, dist_options):
      valid_dists = ", ".join(valid_dist for valid_dist in dist_options)
      raise ValueError(
          f"Unknown {name} distribution {dist}, valid distributions are {valid_dists}"
      )
  
imports: from typing import Dict, Hashable, List, Optional, Tuple, Union
  import networkx
  import numpy
  import pandas
  from sklearn.gaussian_process.kernels import RBF, Kernel
  from causalnex.structure import StructureModel
  from causalnex.structure.categorical_variable_mapper import VariableFeatureMapper, validate_schema
label_desc: Use image node_id 12 for calling a global function with example usage: _raise_dist_error(name, dist, dist_options) without return types