def debug_repo_endpoint_search(query_string): repos = repository.get_raw_repo_meta(query_string) endpoints = [] for repo in repos: for endpoint in repo.endpoints: endpoints.append(endpoint) return jsonify({"results": [obj.to_dict() for obj in endpoints]})
def debug_repo_endpoint_search(query_string): repos = repository.get_raw_repo_meta(query_string) endpoints = [] for repo in repos: for endpoint in repo.endpoints: endpoints.append(endpoint) return jsonify({"results": [obj.to_dict() for obj in endpoints]})