def find_job(jid):
 for data in running():
  if (data['jid'] == jid):
   return data
 return {}

def find_job ( jid ) : for data in running ( ) : if ( data [ 'jid' ] == jid ) : return data return { }
return the data for a specific job id that is currently running .