Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
muster:9.0:instanceapi [2019/04/23 12:22]
admin [Muster Renderclient Python API]
muster:9.0:instanceapi [2019/04/23 12:22] (current)
admin [Return types]
Line 29: Line 29:
 <code python> <code python>
 import MInstanceAPI import MInstanceAPI
-err, jobs MDispatcherAPI.jobGetList(+err,numOfInstances ​MInstanceAPI.getRunningInstances()
-if (err.getErrorCode() != 0): +
-    print("​Function failed: " + err.getDescription()) +
-for job in jobs: +
-    print("​Job status: " + str(job.getStatus()) + " name: " + job.getName()+
 </​code>​ </​code>​
 ==== Execution contexts ==== ==== Execution contexts ====