summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
diff options
context:
space:
mode:
authorDaniel Lanner <lanner.dan@gmail.com>2021-04-30 15:47:06 -0400
committerDaniel Lanner <lanner.dan@gmail.com>2021-04-30 15:47:06 -0400
commitfdc46baca447e042d3b0a4542970f9758c62e7b7 (patch)
tree1a874b0574d3c086eb25cfea07fd5a0f0adb20fc /gitlab/v4/objects
parent09ef8d405c8c0bd4ac2af076304113f0c7e544e2 (diff)
downloadgitlab-fdc46baca447e042d3b0a4542970f9758c62e7b7.tar.gz
feat: add code owner approval as attribute
The python API was missing the field code_owner_approval_required as implemented in the GitLab REST API.
Diffstat (limited to 'gitlab/v4/objects')
-rw-r--r--gitlab/v4/objects/branches.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/v4/objects/branches.py b/gitlab/v4/objects/branches.py
index 11e53a0..6b1b27f 100644
--- a/gitlab/v4/objects/branches.py
+++ b/gitlab/v4/objects/branches.py
@@ -84,5 +84,6 @@ class ProjectProtectedBranchManager(NoUpdateMixin, RESTManager):
"allowed_to_push",
"allowed_to_merge",
"allowed_to_unprotect",
+ "code_owner_approval_required",
),
)