@classmethod
def fetch_all_open_for_user(cls, project_id, user_id, api, merge_order):
    all_merge_request_infos = api.collect_all_pages(GET('/projects/{project_id}/merge_requests'.format(project_id=project_id), {'state': 'opened', 'order_by': merge_order, 'sort': 'asc'}))
    my_merge_request_infos = [mri for mri in all_merge_request_infos if (((mri.get('assignee', {}) or {}).get('id') == user_id) or (user_id in [assignee.get('id') for assignee in (mri.get('assignees', []) or [])]))]
    return [cls(api, merge_request_info) for merge_request_info in my_merge_request_infos]
@classmethod
def fetch_all_open_for_user(cls, project_id, user_id, api, merge_order):
    all_merge_request_infos = api.collect_all_pages(GET('/projects/{project_id}/merge_requests'.format(project_id=project_id), {'state': 'opened', 'order_by': merge_order, 'sort': 'asc'}))
    my_merge_request_infos = [mri for mri in all_merge_request_infos if (((mri.get('assignee', {}) or {}).get('id') == user_id) or (user_id in [assignee.get('id') for assignee in (mri.get('assignees', []) or [])]))]
    return [cls(api, merge_request_info) for merge_request_info in my_merge_request_infos]