summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-12-11 15:33:39 +0100
committerJohn Villalovos <john@sodarock.com>2021-12-11 10:25:08 -0800
commite3035a799a484f8d6c460f57e57d4b59217cd6de (patch)
treec6c37fb24df6da686f070bc55ddcafaab76250ff /gitlab
parent49af15b3febda5af877da06c3d8c989fbeede00a (diff)
downloadgitlab-e3035a799a484f8d6c460f57e57d4b59217cd6de.tar.gz
chore(api): temporarily remove topic delete endpoint
It is not yet available upstream.
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects/topics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/topics.py b/gitlab/v4/objects/topics.py
index 76208ed..71f6607 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 CRUDMixin, ObjectDeleteMixin, SaveMixin
+from gitlab.mixins import CreateMixin, RetrieveMixin, SaveMixin, UpdateMixin
__all__ = [
"Topic",
@@ -10,11 +10,11 @@ __all__ = [
]
-class Topic(SaveMixin, ObjectDeleteMixin, RESTObject):
+class Topic(SaveMixin, RESTObject):
pass
-class TopicManager(CRUDMixin, RESTManager):
+class TopicManager(CreateMixin, RetrieveMixin, UpdateMixin, RESTManager):
_path = "/topics"
_obj_cls = Topic
_create_attrs = RequiredOptional(