summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-07-01 18:40:52 +0200
committerGitHub <noreply@github.com>2019-07-01 18:40:52 +0200
commitf539c36dddf8e0eb3b2156a3ed4e2ff2fa667cf1 (patch)
tree83529b870d1658a57412088964b347e37f14e4ab /gitlab/v4/objects.py
parent2ea8eb8c66480fce2a3cd5294f0dc64ce826b12b (diff)
parent908d79fa56965e7b3afcfa23236beef457cfa4b4 (diff)
downloadgitlab-f539c36dddf8e0eb3b2156a3ed4e2ff2fa667cf1.tar.gz
Merge pull request #804 from python-gitlab/feat/update_board
feat: add support for board update
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index d15bc5d..9a76d8d 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -693,11 +693,11 @@ class GroupBoardListManager(CRUDMixin, RESTManager):
_update_attrs = (("position",), tuple())
-class GroupBoard(ObjectDeleteMixin, RESTObject):
+class GroupBoard(SaveMixin, ObjectDeleteMixin, RESTObject):
_managers = (("lists", "GroupBoardListManager"),)
-class GroupBoardManager(NoUpdateMixin, RESTManager):
+class GroupBoardManager(CRUDMixin, RESTManager):
_path = "/groups/%(group_id)s/boards"
_obj_cls = GroupBoard
_from_parent_attrs = {"group_id": "id"}
@@ -1432,11 +1432,11 @@ class ProjectBoardListManager(CRUDMixin, RESTManager):
_update_attrs = (("position",), tuple())
-class ProjectBoard(ObjectDeleteMixin, RESTObject):
+class ProjectBoard(SaveMixin, ObjectDeleteMixin, RESTObject):
_managers = (("lists", "ProjectBoardListManager"),)
-class ProjectBoardManager(NoUpdateMixin, RESTManager):
+class ProjectBoardManager(CRUDMixin, RESTManager):
_path = "/projects/%(project_id)s/boards"
_obj_cls = ProjectBoard
_from_parent_attrs = {"project_id": "id"}