    def _set_status(self, status):
        # type: (int) -> None
        '''
        Sets the status of a task in the DB.

        Args:
            status (int): The new status to use.
        '''
        SQLEngine.execute(SET_STATUS, (status, self.hash))
Sets the status of a task in the DB.

Args:
status (int): The new status to use.
securitybot/tasker/sql_tasker.py