Skip to content

Commit 0b8ed5a

Browse files
author
Gauvain Pocentek
committed
commit status: add optional context url
1 parent 68d15fd commit 0b8ed5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitlab/objects.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,8 @@ class ProjectCommitStatus(GitlabObject):
910910
canDelete = False
911911
requiredUrlAttrs = ['project_id', 'commit_id']
912912
requiredCreateAttrs = ['state']
913-
optionalCreateAttrs = ['description', 'name', 'ref', 'target_url']
913+
optionalCreateAttrs = ['description', 'name', 'context', 'ref',
914+
'target_url']
914915

915916

916917
class ProjectCommitStatusManager(BaseManager):

0 commit comments

Comments
 (0)