From c6c012b9834b69f1fe45689519fbcd92928cfbad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Gr=C3=A9goire?= <32612304+valentingregoire@users.noreply.github.com> Date: Fri, 20 Oct 2023 09:31:27 +0200 Subject: [PATCH] fix: remove depricated MergeStatus --- gitlab/const.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gitlab/const.py b/gitlab/const.py index e9daacc2f..fb9ede7b5 100644 --- a/gitlab/const.py +++ b/gitlab/const.py @@ -54,16 +54,6 @@ class SearchScope(GitlabEnum): PROJECT_NOTES: str = "notes" -# https://archives.docs.gitlab.com/15.5/ee/api/merge_requests.html#single-merge-request-response-notes -class MergeStatus(GitlabEnum): - # depricated since GitLab 15.6, use DetailedMergeStatus instead - UNCHECKED: str = "unchecked" - CHECKING: str = "checking" - CAN_BE_MERGED: str = "can_be_merged" - CANNOT_BE_MERGED: str = "cannot_be_merged" - CANNOT_BE_MERGED_RECHECK: str = "cannot_be_merged_recheck" - - # https://docs.gitlab.com/ee/api/merge_requests.html#merge-status class DetailedMergeStatus(GitlabEnum): # possible values for the detailed_merge_status field of Merge Requests