diff options
-rw-r--r-- | gitlab/v4/objects.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 800b4b5..ed559cf 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1184,13 +1184,15 @@ class ProjectRegistryRepository(ObjectDeleteMixin, RESTObject): class ProjectRegistryRepositoryManager(DeleteMixin, ListMixin, RESTManager): - _path= '/projects/%(project_id)s/registry/repositories' + _path = '/projects/%(project_id)s/registry/repositories' _obj_cls = ProjectRegistryRepository _from_parent_attrs = {'project_id': 'id'} + class ProjectRegistryTag(ObjectDeleteMixin, RESTObject): _id_attr = 'name' + class ProjectRegistryTagManager(DeleteMixin, RetrieveMixin, RESTManager): _obj_cls = ProjectRegistryTag _from_parent_attrs = {'project_id': 'project_id', 'repository_id': 'id'} |