Beispiel #1
0
def data_sources_list():
    return u.render(
        data_sources=[ds.to_dict() for ds in api.get_data_sources()])
Beispiel #2
0
def check_data_source_unique_name(name):
    if name in [ds.name for ds in api.get_data_sources()]:
        raise ex.NameAlreadyExistsException("Data source with name '%s' "
                                            "already exists" % name)
Beispiel #3
0
def check_data_source_unique_name(name):
    if name in [ds.name for ds in api.get_data_sources()]:
        raise ex.NameAlreadyExistsException("Data source with name '%s' "
                                            "already exists" % name)
Beispiel #4
0
def data_sources_list():
    return u.render(
        data_sources=[ds.to_dict() for ds in api.get_data_sources()])
Beispiel #5
0
def data_sources_list():
    return u.render(jobs=api.get_data_sources())
Beispiel #6
0
def data_sources_list():
    return u.render(jobs=api.get_data_sources())