def get(self, user, execution_id): running = self.application.execution_service.is_running( execution_id, user) self.write(external_model.running_flag_to_status(running))
def get(self, execution_id): validate_execution_id(execution_id, self, only_active=False) running = self.application.execution_service.is_running(execution_id) self.write(external_model.running_flag_to_status(running))