Skip to content

Commit 9a30266

Browse files
author
Gauvain Pocentek
committed
ProjectKeys can be updated
Closes #444
1 parent a7314ec commit 9a30266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/v4/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,11 +1156,11 @@ class ProjectEnvironmentManager(GetFromListMixin, CreateMixin, UpdateMixin,
11561156
_update_attrs = (tuple(), ('name', 'external_url'))
11571157

11581158

1159-
class ProjectKey(ObjectDeleteMixin, RESTObject):
1159+
class ProjectKey(SaveMixin, ObjectDeleteMixin, RESTObject):
11601160
pass
11611161

11621162

1163-
class ProjectKeyManager(NoUpdateMixin, RESTManager):
1163+
class ProjectKeyManager(CRUDMixin, RESTManager):
11641164
_path = '/projects/%(project_id)s/deploy_keys'
11651165
_obj_cls = ProjectKey
11661166
_from_parent_attrs = {'project_id': 'id'}

0 commit comments

Comments
 (0)