engine/process.py
def question_null(self, message):
        """Nullify the latest question for a survey"""
        cursor.execute(f"update {self.db}questions set question = null where id = (select max(id) from "
                       f"{self.db}questions where survey = '{self.get_survey(message)}')")
        connection.commit()
Nullify the latest question for a survey
Nullify the latest question for a survey
Nullify the latest question for a survey
def question_null(self, message):
        cursor.execute(f"update {self.db}questions set question = null where id = (select max(id) from "
                       f"{self.db}questions where survey = '{self.get_survey(message)}')")
        connection.commit()
def question_null ( self , message ) : cursor . execute ( f"update {self.db}questions set question = null where id = (select max(id) from " f"{self.db}questions where survey = '{self.get_survey(message)}')" ) connection . commit ( )
Nullify the latest question for a survey
Nullify the latest question for a survey
"""Nullify the latest question for a survey"""
self
message