@classmethod
def search(cls, api, project_id, params):
    merge_requests = api.collect_all_pages(GET('/projects/{project_id}/merge_requests'.format(project_id=project_id), params))
    return [cls(api, merge_request) for merge_request in merge_requests]
@classmethod
def search(cls, api, project_id, params):
    merge_requests = api.collect_all_pages(GET('/projects/{project_id}/merge_requests'.format(project_id=project_id), params))
    return [cls(api, merge_request) for merge_request in merge_requests]