<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(cls, dbname="perfdump"):
 """Returns the singleton connection to the SQLite3 database. :param dbname: The database name :type dbname: str """

        try:
            return cls.connection
        except:
            cls.connect(dbname)
            return cls.connection