diff options
| author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-04-01 11:10:30 +0200 |
|---|---|---|
| committer | John Villalovos <john@sodarock.com> | 2022-04-01 08:22:19 -0700 |
| commit | d1d96bda5f1c6991c8ea61dca8f261e5b74b5ab6 (patch) | |
| tree | 10826fedd12e4dc722c35bda11084fead8c5ceb9 /gitlab/v4 | |
| parent | 8db68411d6444787ca339cf50dd96b2ab41de60c (diff) | |
| download | gitlab-d1d96bda5f1c6991c8ea61dca8f261e5b74b5ab6.tar.gz | |
feat(api): re-add topic delete endpoint
This reverts commit e3035a799a484f8d6c460f57e57d4b59217cd6de.
Diffstat (limited to 'gitlab/v4')
| -rw-r--r-- | gitlab/v4/objects/topics.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/topics.py b/gitlab/v4/objects/topics.py index 71f6607..76208ed 100644 --- a/gitlab/v4/objects/topics.py +++ b/gitlab/v4/objects/topics.py @@ -2,7 +2,7 @@ from typing import Any, cast, Union from gitlab import types from gitlab.base import RequiredOptional, RESTManager, RESTObject -from gitlab.mixins import CreateMixin, RetrieveMixin, SaveMixin, UpdateMixin +from gitlab.mixins import CRUDMixin, ObjectDeleteMixin, SaveMixin __all__ = [ "Topic", @@ -10,11 +10,11 @@ __all__ = [ ] -class Topic(SaveMixin, RESTObject): +class Topic(SaveMixin, ObjectDeleteMixin, RESTObject): pass -class TopicManager(CreateMixin, RetrieveMixin, UpdateMixin, RESTManager): +class TopicManager(CRUDMixin, RESTManager): _path = "/topics" _obj_cls = Topic _create_attrs = RequiredOptional( |
