

def list_staging_repos(self, filter_dict=None):
    "\n\n        :param filter_dict: dictionary with filters, for example {'description':'foo'}\n        :return: list of dictionaries, each dict describes one staging repo\n        "
    r = self._send_json('service/local/staging/profile_repositories')
    data = r['data']
    if (not filter_dict):
        result = data
    else:
        result = [d for d in data if self._first_contains_second(d, filter_dict)]
    logger.debug('list_staging_repos result: %s', result)
    return result

dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py NexusProRepositoryClient.list_staging_repos/original