I started working with Azure batch recently and found I could not get statistics for a given job although fields for that exists.
I am using the Python API, when I poll for job information the stats
field is always None. The JobListOptions
class can be used with the job.list
method but documentation is not very useful.
Going through the BatchExplorer sample code I found out that the expand
field of the JobListOptions
class might require to be set to stats
but I'm still unsure as I'm still not getting stats from the Python API.