From 0b8ed5a1687f3b5704b516c1a0ded458ed4a9087 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 19 Jun 2016 18:31:52 +0200 Subject: [PATCH] commit status: add optional context url --- gitlab/objects.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitlab/objects.py b/gitlab/objects.py index 83a8c8ffb..b6a9ddaf0 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):