

def load_extension(self, extension):
    self._extensions.add(extension)
    if (not self.is_closed()):
        conn = self.get_conn()
        conn.enableloadextension(True)
        conn.loadextension(extension)

dataset/ETHPy150Open coleifer/peewee/playhouse/apsw_ext.py APSWDatabase.load_extension/original