parameters: (self)
docstring: The get handler method is called from a cron job.
  
      It expects no parameters and has no output. It checks all current bisect try
      jobs and send comments to an issue on the issue tracker if a bisect job has
      completed.
docstring_summary: The get handler method is called from a cron job.
docstring_tokens: The get handler method is called from a cron job .
function: def get(self):
      """The get handler method is called from a cron job.
  
      It expects no parameters and has no output. It checks all current bisect try
      jobs and send comments to an issue on the issue tracker if a bisect job has
      completed.
      """
      credentials = utils.ServiceAccountCredentials()
      issue_tracker = issue_tracker_service.IssueTrackerService(
          additional_credentials=credentials)
  
      # Set privilege so we can also fetch internal try_job entities.
      datastore_hooks.SetPrivilegedRequest()
  
      jobs_to_check = try_job.TryJob.query(
          try_job.TryJob.status.IN(['started', 'pending'])).fetch()
      all_successful = True
  
      for job in jobs_to_check:
        try:
          _CheckJob(job, issue_tracker)
        except Exception as e:  # pylint: disable=broad-except
          logging.error('Caught Exception %s: %s\n%s',
                        type(e).__name__, e, traceback.format_exc())
          all_successful = False
  
      if all_successful:
        utils.TickMonitoringCustomMetric('UpdateBugWithResults')
function_tokens: def get ( self ) : credentials = utils . ServiceAccountCredentials ( ) issue_tracker = issue_tracker_service . IssueTrackerService ( additional_credentials = credentials ) # Set privilege so we can also fetch internal try_job entities. datastore_hooks . SetPrivilegedRequest ( ) jobs_to_check = try_job . TryJob . query ( try_job . TryJob . status . IN ( [ 'started' , 'pending' ] ) ) . fetch ( ) all_successful = True for job in jobs_to_check : try : _CheckJob ( job , issue_tracker ) except Exception as e : # pylint: disable=broad-except logging . error ( 'Caught Exception %s: %s\n%s' , type ( e ) . __name__ , e , traceback . format_exc ( ) ) all_successful = False if all_successful : utils . TickMonitoringCustomMetric ( 'UpdateBugWithResults' )