diff options
author | John L. Villalovos <john@sodarock.com> | 2022-08-23 20:56:26 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-08-25 07:57:02 -0700 |
commit | 9c9eeb901b1f3acd3fb0c4f24014ae2ed7c975ec (patch) | |
tree | 2227bdfce32af418e5342bb66fc2f758528e7c00 /gitlab/exceptions.py | |
parent | e095735e02867f433fdff388212785379d43b89b (diff) | |
download | gitlab-9c9eeb901b1f3acd3fb0c4f24014ae2ed7c975ec.tar.gz |
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
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 # |