Hello.
I have a question regarding qb.modify() as well. I am trying to use the "notes" field to denote more granular app specific status. To do that I am attempting to modify the notes field as my job proceeds.
This is the method I am using, passing it with the ip of the supervisor and a dictionary like {'notes' : 'some_foo_value'}
def update_qube_job_properties(qube_supervisor, modify_param_dict):
qube_job_id = os.environ['QBJOBID']
try:
qb.setsupervisor(qube_supervisor)
qb.modify(modify_param_dict, int(qube_job_id))
qube_job_info = qb.jobinfo(id=int(qube_job_id))[0]
except:
logging.debug(sys.exc_info()[0])
return qube_job_info
qb.modify is returning a null list as a result, any insight?
Thank you.