From 9c9eeb901b1f3acd3fb0c4f24014ae2ed7c975ec Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Tue, 23 Aug 2022 20:56:26 -0700 Subject: feat: add support for deployment approval endpoint Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253 --- gitlab/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gitlab/exceptions.py') diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py index 01439e4..633de5b 100644 --- a/gitlab/exceptions.py +++ b/gitlab/exceptions.py @@ -301,6 +301,10 @@ class GitlabUserRejectError(GitlabOperationError): pass +class GitlabDeploymentApprovalError(GitlabOperationError): + pass + + # For an explanation of how these type-hints work see: # https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators # -- cgit v1.2.1