

def find_possible_data_source_refs_by_name(job_configs):
    "Find string values in job_configs starting with 'datasource://'.\n\n    Loop over the 'args', 'configs', and 'params' elements of\n    job_configs to find all values beginning with the prefix\n    'datasource://'. Return a list of unique values with the prefix\n    removed.\n\n    Note that for 'configs' and 'params', which are dictionaries, only\n    the values are considered and the keys are not relevant.\n    "

    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: job_configs[len(DATA_SOURCE_PREFIX):]))

dataset/ETHPy150Open openstack/sahara/sahara/service/edp/job_utils.py find_possible_data_source_refs_by_name/VarMisuse@54/229 `x`->`job_configs`