def METHOD_NAME(config, dashboards):
    """Write a list of Dashboard objects to disk"""
    yaml.SafeDumper.ignore_aliases = lambda *args: True
    with open(dashboard_yml_path(config), 'w') as f:
        yaml.safe_dump([d.to_dict() for d in dashboards], f)