summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-11-08 06:59:49 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-11-08 06:59:49 +0100
commit3bc3e607e3e52cc5e676f379eca31316ad9c330a (patch)
tree1311077aa0db9dc2b91172db2d16c0d38fb557da /docs/gl_objects
parent4fb2e439803bd55868b91827a5fbaa448f1dff56 (diff)
parent30b1c03efe5b1927500103f5f9e6fb5b5ad9d312 (diff)
downloadgitlab-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.py3
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