summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-06-18 12:16:08 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-06-18 12:16:08 +0200
commit1a7f67274c9175f46a76c5ae0d8bde7ca2731014 (patch)
tree523e9fad5aeaae321621e35d3f151ab189ef5936 /gitlab/v4/objects.py
parent2a0afc50311c727ee3bef700553fb60924439ef4 (diff)
downloadgitlab-1a7f67274c9175f46a76c5ae0d8bde7ca2731014.tar.gz
Rework documentation
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index f3d1dce..2370de0 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -996,10 +996,6 @@ class ProjectMilestoneManager(RetrieveMixin, CreateMixin, DeleteMixin,
class ProjectLabel(SubscribableMixin, SaveMixin, ObjectDeleteMixin,
RESTObject):
_id_attr = 'name'
- requiredCreateAttrs = ['name', 'color']
- optionalCreateAttrs = ['description', 'priority']
- requiredUpdateAttrs = ['name']
- optionalUpdateAttrs = ['new_name', 'color', 'description', 'priority']
class ProjectLabelManager(GetFromListMixin, CreateMixin, UpdateMixin,