|job_ids||str, tuple, or list||List of job IDs|
|timeout||int||Timeout after which all unfinished jobs will be stopped|
|interval||int||Minimum interval at which all job states are checked. The default value is 3 seconds|
The poll method returns a
list object, which contains the failure or timeout information of jobs. The null value indicates that no error occurs. If the poll method is called, its return value must be checked.
client = Client(...
job_ids = ["job-xxxx", "job-yyyy", "job-zzzz"]
# Wait all job finished.
errs = client.poll(job_ids)
if errs: print ("Some errors occur: %s" % '\n'.join(errs))
except ClientError, e: