code: def GetStopTimes(self, problems=None):
      cursor = self._schedule._connection.cursor()
      cursor.execute(
          'SELECT arrival_secs,departure_secs,stop_headsign,pickup_type,'
          'drop_off_type,shape_dist_traveled,stop_id,stop_sequence,timepoint '
          'FROM stop_times '
          'WHERE trip_id=? '
          'ORDER BY stop_sequence', (self.trip_id,))
      stop_times = []
      stoptime_class = self.GetGtfsFactory().StopTime
      if problems is None:
        problems = problems_module.default_problem_reporter
      for row in cursor.fetchall():
        stop = self._schedule.GetStop(row[6])
        stop_times.append(stoptime_class(problems=problems,
                                         stop=stop,
                                         arrival_secs=row[0],
                                         departure_secs=row[1],
                                         stop_headsign=row[2],
                                         pickup_type=row[3],
                                         drop_off_type=row[4],
                                         shape_dist_traveled=row[5],
                                         stop_sequence=row[7],
                                         timepoint=row[8]))
      return stop_times