def check_status(cls, context, action_id, timestamp): return db_api.action_check_status(context, action_id, timestamp)
def get_status(self): timestamp = wallclock() status = db_api.action_check_status(self.context, self.id, timestamp) self.status = status return status