<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_cursor(cls):
 """Return a message list cursor that returns sqlite3.Row objects"""

        db = SqliteConnection.get()
        db.row_factory = sqlite3.Row
        return db.cursor()