def find_possible_data_source_refs_by_name(job_configs):
    def startswith(arg):
        return isinstance(
            arg,
            six.string_types) and arg.startswith(DATA_SOURCE_PREFIX)
    return _data_source_ref_search(job_configs,
                                   startswith,
                                   prune=lambda x: x[len(DATA_SOURCE_PREFIX):])
Find string values in job_configs starting with 'datasource://'.
dataset/ETHPy150Open openstack/sahara/sahara/service/edp/job_utils.py/find_possible_data_source_refs_by_name