Skip to content

Commit 7d6f3d0

Browse files
author
Gauvain Pocentek
committed
CommitStatus: sha is parent attribute
Fixes #316
1 parent d321847 commit 7d6f3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ class ProjectCommitStatusManager(GetFromListMixin, CreateMixin, RESTManager):
735735
'/statuses')
736736
_obj_cls = ProjectCommitStatus
737737
_from_parent_attrs = {'project_id': 'project_id', 'commit_id': 'id'}
738-
_create_attrs = (('state', 'sha'),
738+
_create_attrs = (('state', ),
739739
('description', 'name', 'context', 'ref', 'target_url',
740740
'coverage'))
741741

0 commit comments

Comments
 (0)