Skip to content

Commit

Permalink
CommitStatus: sha is parent attribute
Browse files Browse the repository at this point in the history
Fixes #316
  • Loading branch information
Gauvain Pocentek committed Sep 21, 2017
1 parent d321847 commit 7d6f3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/v4/objects.py
Expand Up @@ -735,7 +735,7 @@ class ProjectCommitStatusManager(GetFromListMixin, CreateMixin, RESTManager):
'/statuses')
_obj_cls = ProjectCommitStatus
_from_parent_attrs = {'project_id': 'project_id', 'commit_id': 'id'}
_create_attrs = (('state', 'sha'),
_create_attrs = (('state', ),
('description', 'name', 'context', 'ref', 'target_url',
'coverage'))

Expand Down

0 comments on commit 7d6f3d0

Please sign in to comment.