summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-02-27 07:57:12 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-02-27 07:57:12 +0100
commit9a30266d197c45b00bafd4cea2aa4ca30637046b (patch)
tree303aaa7bec1174d7e553bf302bd8787732848617 /gitlab/v4/objects.py
parenta7314ec1f80bbcbbb1f1a81c127570a446a408a4 (diff)
downloadgitlab-9a30266d197c45b00bafd4cea2aa4ca30637046b.tar.gz
ProjectKeys can be updated
Closes #444
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index f107540..69c3185 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -1156,11 +1156,11 @@ class ProjectEnvironmentManager(GetFromListMixin, CreateMixin, UpdateMixin,
_update_attrs = (tuple(), ('name', 'external_url'))
-class ProjectKey(ObjectDeleteMixin, RESTObject):
+class ProjectKey(SaveMixin, ObjectDeleteMixin, RESTObject):
pass
-class ProjectKeyManager(NoUpdateMixin, RESTManager):
+class ProjectKeyManager(CRUDMixin, RESTManager):
_path = '/projects/%(project_id)s/deploy_keys'
_obj_cls = ProjectKey
_from_parent_attrs = {'project_id': 'id'}