コード例 #1
0
ファイル: station_api.py プロジェクト: fahhem/openhtf
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of pickled TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [xmlrpclib.Binary(pickle.dumps(test_record))
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]
コード例 #2
0
ファイル: station_api.py プロジェクト: 141141/openhtf
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [data.convert_to_base_types(test_record)
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]
コード例 #3
0
ファイル: station_api.py プロジェクト: maddychan/openhtf
 def get_history_after(self, test_uid, start_time_millis):
   """Get a list of TestRecords for test_uid from the History."""
   _LOG.debug('RPC:get_history_after(%s)', start_time_millis)
   # TODO(madsci): We really should pull attachments out of band here.
   return [data.convert_to_base_types(test_record)
           for test_record in history.for_test_uid(
               test_uid, start_after_millis=start_time_millis)]