tools/perf/core/services/pinpoint_service.py
def Job(job_id, with_state=False, with_tags=False):
  """Get job information from its id."""
  params = []
  if with_state:
    params.append(('o', 'STATE'))
  if with_tags:
    params.append(('o', 'TAGS'))
  return Request('/job/%s' % job_id, params=params)
Get job information from its id.
Get job information from its id.
Get job information from its id .
def Job(job_id, with_state=False, with_tags=False):
  params = []
  if with_state:
    params.append(('o', 'STATE'))
  if with_tags:
    params.append(('o', 'TAGS'))
  return Request('/job/%s' % job_id, params=params)
def Job ( job_id , with_state = False , with_tags = False ) : params = [ ] if with_state : params . append ( ( 'o' , 'STATE' ) ) if with_tags : params . append ( ( 'o' , 'TAGS' ) ) return Request ( '/job/%s' % job_id , params = params )
Get job information from its id.
Get job information from its id .
"""Get job information from its id."""
job_id
with_state
with_tags