import sqlite3


def get_random_quote(conn) -> sqlite3.Row:
    """
    Retrieves a random quote
    """

    cur = conn.cursor()

    cur.execute("select text, source, topic from quotes order by random() limit 1")

    return cur.fetchone()