Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gingercookiemage committed Dec 14, 2018
1 parent 40f5746 commit 2d3b559
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1569,12 +1569,18 @@ Examples

.. code:: python
# Query automation runs with name parameter
api.automation_runs.query(name='automation_run_name')
# List all automations
automations = api.automations.query()
# Get details of an automation
automation = api.automations.get('automation_id')
# Get automation runs with name parameter for existing automation
automation.get_runs(name='automation_run_name')
# List all packages that belong to an automation
packages = automation.get_packages()
Expand Down Expand Up @@ -1611,6 +1617,7 @@ Examples
# Start a new automation run
new_run = api.automation_runs.create(
package='package_id',
name='automation_run_name',
inputs={
'x': 1,
'y': 2,
Expand Down

0 comments on commit 2d3b559

Please sign in to comment.