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
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