From fdc46baca447e042d3b0a4542970f9758c62e7b7 Mon Sep 17 00:00:00 2001 From: Daniel Lanner Date: Fri, 30 Apr 2021 15:47:06 -0400 Subject: [PATCH] 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. --- gitlab/v4/objects/branches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/v4/objects/branches.py b/gitlab/v4/objects/branches.py index 11e53a0e1..6b1b27f3e 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", ), ) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy