ArcGIS API for Python Documentation Workflow Manager Submodule

353
1
07-26-2022 12:04 AM
MarcHoogerwerf_EsriNL
New Contributor

The documentation for the ArcGIS API for Python status that create() method on the JobManager class returns a Job instance. When I tried, it returned a list with a job_id

new_job = jm.create(job_template_id,count=1,location=location)
new_job
['GO31GJaCQUyjkoCl0o9rrw']
type(new_job)
<class 'list'>

nj=jm.get(new_job[0])
nj
<arcgis.gis.workflowmanager._workflow_manager.Job object at 0x000002A006A3FF10>

Is this expected behaviour and an error in the documentation

0 Kudos
1 Reply
JFarmer
Esri Contributor

Hi @MarcHoogerwerf_EsriNL 

Thanks for bringing this up! Looks like we have a documentation error here, we'll get this fixed. The behavior you are seeing is correct.

Jonathan