(self, current_time: str, change_title: bool)
| 276 | return templates |
| 277 | |
| 278 | def sql_user_question(self, current_time: str, change_title: bool): |
| 279 | _question = self.question |
| 280 | if self.regenerate_record_id: |
| 281 | _question = get_sql_template()['regenerate_hint'] + self.question |
| 282 | return get_sql_template()['user'].format(lang=self.lang, engine=self.engine, schema=self.db_schema, |
| 283 | question=_question, |
| 284 | rule=self.rule, current_time=current_time, error_msg=self.error_msg, |
| 285 | change_title=change_title) |
| 286 | |
| 287 | def chart_sys_question(self): |
| 288 | templates: dict[str, str] = { |
no test coverage detected