def _process_args(self): RHManageSurveysBase._process_args(self) self.question = SurveyQuestion.find_one( SurveyQuestion.id == request.view_args['question_id'], ~Survey.is_deleted, _join=SurveyQuestion.survey, _eager=SurveyQuestion.survey) self.survey = self.question.survey
def _checkParams(self, params): RHManageSurveysBase._checkParams(self, params) self.question = SurveyQuestion.find_one( SurveyQuestion.id == request.view_args['question_id'], ~Survey.is_deleted, _join=SurveyQuestion.survey, _eager=SurveyQuestion.survey) self.survey = self.question.survey
def _checkParams(self, params): RHManageSurveysBase._checkParams(self, params) self.question = SurveyQuestion.find_one(SurveyQuestion.id == request.view_args['question_id'], ~Survey.is_deleted, _join=SurveyQuestion.survey, _eager=SurveyQuestion.survey) self.survey = self.question.survey
def _process_args(self): RHManageSurveysBase._process_args(self) self.question = SurveyQuestion.find_one(SurveyQuestion.id == request.view_args['question_id'], ~Survey.is_deleted, _join=SurveyQuestion.survey, _eager=SurveyQuestion.survey) self.survey = self.question.survey