diff options
author | Christian Wenk <christian.wenk@omicronenergy.com> | 2016-07-25 10:28:51 +0200 |
---|---|---|
committer | Christian Wenk <christian.wenk@omicronenergy.com> | 2016-07-25 10:28:51 +0200 |
commit | d61510e55f73ed328dde66f8a6c1138d554ab000 (patch) | |
tree | 9d64318ec7a65ff457dd17061fb0317423788324 | |
parent | 580f21ea9a80bfe7062296ac7684489d5375df69 (diff) | |
download | gitlab-d61510e55f73ed328dde66f8a6c1138d554ab000.tar.gz |
Added a new project attribute to enable the container registry.
-rw-r--r-- | gitlab/objects.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 315abde..42d5b38 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1627,12 +1627,14 @@ class Project(GitlabObject): requiredCreateAttrs = ['name'] optionalCreateAttrs = ['default_branch', 'issues_enabled', 'wall_enabled', 'merge_requests_enabled', 'wiki_enabled', - 'snippets_enabled', 'public', 'visibility_level', - 'namespace_id', 'description', 'path', 'import_url', + 'snippets_enabled', 'container_registry_enabled', + 'public', 'visibility_level', 'namespace_id', + 'description', 'path', 'import_url', 'builds_enabled', 'public_builds'] optionalUpdateAttrs = ['name', 'default_branch', 'issues_enabled', 'wall_enabled', 'merge_requests_enabled', - 'wiki_enabled', 'snippets_enabled', 'public', + 'wiki_enabled', 'snippets_enabled', + 'container_registry_enabled', 'public', 'visibility_level', 'namespace_id', 'description', 'path', 'import_url', 'builds_enabled', 'public_builds'] |