summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-06-19 18:31:52 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2016-06-19 18:31:52 +0200
commit0b8ed5a1687f3b5704b516c1a0ded458ed4a9087 (patch)
tree9ec219374d5e3c170095141fd7372a6d0850d2f3 /gitlab/objects.py
parent68d15fdfd7cd92adbf54873b75c42e46f35dd918 (diff)
downloadgitlab-0b8ed5a1687f3b5704b516c1a0ded458ed4a9087.tar.gz
commit status: add optional context url
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 83a8c8f..b6a9dda 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -910,7 +910,8 @@ class ProjectCommitStatus(GitlabObject):
canDelete = False
requiredUrlAttrs = ['project_id', 'commit_id']
requiredCreateAttrs = ['state']
- optionalCreateAttrs = ['description', 'name', 'ref', 'target_url']
+ optionalCreateAttrs = ['description', 'name', 'context', 'ref',
+ 'target_url']
class ProjectCommitStatusManager(BaseManager):