We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 368a34d commit f7fbfcaCopy full SHA for f7fbfca
docs/gl_objects/builds.rst
@@ -141,6 +141,13 @@ Delete a schedule::
141
142
sched.delete()
143
144
+List schedule variables::
145
+
146
+ # note: you need to use get() to retrieve the schedule variables. The
147
+ # attribute is not present in the response of a list() call
148
+ sched = projects.pipelineschedules.get(schedule_id)
149
+ vars = sched.attributes['variables']
150
151
Create a schedule variable::
152
153
var = sched.variables.create({'key': 'foo', 'value': 'bar'})
0 commit comments