<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_sqlite_pragmas(self):
 """ Sets the connection PRAGMAs for the sqlalchemy engine stored in self.engine. It currently sets: - journal_mode to WAL :return: None """


        def _pragmas_on_connect(dbapi_con, con_record):
            dbapi_con.execute("PRAGMA journal_mode = WAL;")

        event.listen(self.engine, "connect", _pragmas_on_connect)