summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/projects.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-05-01 12:45:46 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-05-01 12:45:46 +0200
commitef05f4f38f2698cc2a7d7828d196bfe10d7aab44 (patch)
tree3a867bf20991fbce46df611b79841942140a3ad9 /gitlab/v4/objects/projects.py
parent1e6305e865d4e586f2fa3a5f638095d0c885e224 (diff)
downloadgitlab-fix/public-jobs-attribute.tar.gz
fix(objects): add public_jobs attribute to projectsfix/public-jobs-attribute
This will replace the deprecated public_builds attribute.
Diffstat (limited to 'gitlab/v4/objects/projects.py')
-rw-r--r--gitlab/v4/objects/projects.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py
index 3dba95d..ec6436b 100644
--- a/gitlab/v4/objects/projects.py
+++ b/gitlab/v4/objects/projects.py
@@ -589,6 +589,7 @@ class ProjectManager(CRUDMixin, RESTManager):
"visibility",
"import_url",
"public_builds",
+ "public_jobs",
"only_allow_merge_if_pipeline_succeeds",
"only_allow_merge_if_all_discussions_are_resolved",
"merge_method",
@@ -646,6 +647,7 @@ class ProjectManager(CRUDMixin, RESTManager):
"visibility",
"import_url",
"public_builds",
+ "public_jobs",
"only_allow_merge_if_pipeline_succeeds",
"only_allow_merge_if_all_discussions_are_resolved",
"merge_method",