10000 feat: add support for board update by gpocentek · Pull Request #804 · python-gitlab/python-gitlab · GitHub
[go: up one dir, main page]

Skip to content

feat: add support for board update #804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gitlab/v4/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down Expand Up @@ -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"}
Expand Down
0