diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-19 18:34:19 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-19 18:34:19 +0200 |
commit | 547f38501177a8d67d35e0d55ca0f2dff38f2904 (patch) | |
tree | 83019e3b094bf2fab1a31da6352f7bc0f719553c | |
parent | 0b8ed5a1687f3b5704b516c1a0ded458ed4a9087 (diff) | |
download | gitlab-547f38501177a8d67d35e0d55ca0f2dff38f2904.tar.gz |
commit status: optional get attrs
-rw-r--r-- | gitlab/objects.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index b6a9dda..4be5574 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -909,6 +909,7 @@ class ProjectCommitStatus(GitlabObject): canUpdate = False canDelete = False requiredUrlAttrs = ['project_id', 'commit_id'] + optionalGetAttrs = ['ref_name', 'stage', 'name', 'all'] requiredCreateAttrs = ['state'] optionalCreateAttrs = ['description', 'name', 'context', 'ref', 'target_url'] |