diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-08 06:59:49 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-08 06:59:49 +0100 |
commit | 3bc3e607e3e52cc5e676f379eca31316ad9c330a (patch) | |
tree | 1311077aa0db9dc2b91172db2d16c0d38fb557da /docs/gl_objects | |
parent | 4fb2e439803bd55868b91827a5fbaa448f1dff56 (diff) | |
parent | 30b1c03efe5b1927500103f5f9e6fb5b5ad9d312 (diff) | |
download | gitlab-3bc3e607e3e52cc5e676f379eca31316ad9c330a.tar.gz |
Merge branch 'master' of github.com:python-gitlab/python-gitlab
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/builds.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/gl_objects/builds.py b/docs/gl_objects/builds.py index 5ca55db..803edc6 100644 --- a/docs/gl_objects/builds.py +++ b/docs/gl_objects/builds.py @@ -34,7 +34,8 @@ trigger = project.triggers.get(trigger_token) # end trigger get # trigger create -trigger = project.triggers.create({}) +trigger = project.triggers.create({}) # v3 +trigger = project.triggers.create({'description': 'mytrigger'}) # v4 # end trigger create # trigger delete |