def validate()

in dagify/converter/engine.py [0:0]


def validate(object):
    # TODO
    # Check that every Job in the Source has a Configured Mapping in Config
    # Check that every JobType in Config has a Template Name and that that
    # Template Name is in Templates;

    if object.output_path is None:
        raise ValueError("dagify: No output path provided")
    if directory_exists(object.output_path) is False:
        create_directory(object.output_path)

    return