From 908d79fa56965e7b3afcfa23236beef457cfa4b4 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Thu, 20 Jun 2019 09:14:13 +0200 Subject: [PATCH] feat: add support for board update Closes #801 --- gitlab/v4/objects.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index d15bc5da2..9a76d8da1 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"}