def METHOD_NAME(
    file_list: Sequence[str], loader: Type[yaml.SafeLoader] = DagsterRunConfigYamlLoader
) -> Dict[object, object]:
    """Combine a list of YAML files into a dictionary.
    Args:
        file_list (List[str]): List of YAML filenames
    Returns:
        dict: Merged dictionary from combined YAMLs
    Raises:
        yaml.YAMLError: When one of the YAML documents is invalid and has a parse error.
    """
    check.sequence_param(file_list, "file_list", of_type=str)
    merged: Dict[object, object] = {}
    for yaml_file in file_list:
        yaml_dict = load_yaml_from_path(yaml_file, loader=loader) or {}
        if isinstance(yaml_dict, dict):
            merged = deep_merge_dicts(merged, yaml_dict)
        else:
            check.failed(
                (
                    "Expected YAML from file {yaml_file} to parse to dictionary, "
                    'instead got: "{yaml_dict}"'
                ).format(yaml_file=yaml_file, yaml_dict=yaml_dict)
            )
    return merged