summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index a7105d2..28530a0 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -227,6 +227,7 @@ class GitlabObject(object):
else:
attributes = itertools.chain(self.requiredCreateAttrs,
self.optionalCreateAttrs)
+ attributes = list(attributes) + ['sudo', 'page', 'per_page']
for attribute in attributes:
if hasattr(self, attribute):
data[attribute] = getattr(self, attribute)