diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-02-27 07:57:12 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-02-27 07:57:12 +0100 |
commit | 9a30266d197c45b00bafd4cea2aa4ca30637046b (patch) | |
tree | 303aaa7bec1174d7e553bf302bd8787732848617 /gitlab/v4/objects.py | |
parent | a7314ec1f80bbcbbb1f1a81c127570a446a408a4 (diff) | |
download | gitlab-9a30266d197c45b00bafd4cea2aa4ca30637046b.tar.gz |
ProjectKeys can be updated
Closes #444
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r-- | gitlab/v4/objects.py | 4 |
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'} |