summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-01-02 11:20:31 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-01-02 11:21:15 +0100
commit05b3abf99b7af987a66c549fbd66e11710d5e3e6 (patch)
tree3f146b79df4cf7b299171eb94a8046ac90ab623d /gitlab/objects.py
parent18415fe34f44892da504ec578ea35e74f0d78565 (diff)
downloadgitlab-05b3abf99b7af987a66c549fbd66e11710d5e3e6.tar.gz
Some objects need getRequires to be set to False
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 4088661..8f44ef9 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -736,6 +736,7 @@ class CurrentUser(GitlabObject):
class ApplicationSettings(GitlabObject):
_url = '/application/settings'
_id_in_update_url = False
+ getRequiresId = False
optionalUpdateAttrs = ['after_sign_out_path',
'container_registry_token_expire_delay',
'default_branch_protection',
@@ -794,6 +795,7 @@ class KeyManager(BaseManager):
class NotificationSettings(GitlabObject):
_url = '/notification_settings'
_id_in_update_url = False
+ getRequiresId = False
optionalUpdateAttrs = ['level',
'notification_email',
'new_note',
@@ -2022,6 +2024,7 @@ class ProjectService(GitlabObject):
canCreate = False
_id_in_update_url = False
_id_in_delete_url = False
+ getRequiresId = False
requiredUrlAttrs = ['project_id', 'service_name']
_service_attrs = {