src/wai_data_tools/config.py
def load_config(config_filepath: Path) -> Dict[str, Any]:
    """
    Loads a config YAML file and returns content.
    :param config_filepath: path to config file.
    :return: Content of config file
    """
    with config_filepath.open(mode="r") as f:
        content = yaml.safe_load(f)
        return content

    Loads a config YAML file and returns content.
    :param config_filepath: path to config file.
    :return: Content of config file
    
Loads a config YAML file and returns content.
Loads a config YAML file and returns content .
def load_config(config_filepath: Path) -> Dict[str, Any]:
    with config_filepath.open(mode="r") as f:
        content = yaml.safe_load(f)
        return content
def load_config ( config_filepath : Path ) -> Dict [ str , Any ] : with config_filepath . open ( mode = "r" ) as f : content = yaml . safe_load ( f ) return content
Loads a config YAML file and returns content.
Loads a config YAML file and returns content .
"""
    Loads a config YAML file and returns content.
    :param config_filepath: path to config file.
    :return: Content of config file
    """
Content of config file
Content of config file
config_filepath
Path
path to config file.
path to config file .