Closed devops-dmdx closed 6 months ago
You'll just want to make a subclass...
from playhouse.pool import _PooledSqliteDatabase
from playhouse.sqlcipher_ext import *
class PooledSqlCipherDatabase(_PooledSqliteDatabase, SqlCipherDatabase):
pass
Indeed, simple. Though, i generally avoid importing protected members as they "may change without prior notice".
Would it make sense to include it in peewee
officially?
You can take a look at the code in the modules referenced and see if there’s another way to accomplish your goal.
Hi,
First thank you for this great package that, i must said, does the job and does it well!
I am wondering how could my desktop app couple
PooledSqliteDatabase
withSqlCipherExtDatabase
? There is no suchPooledSqlCipherExtDatabase
already available in theplayhouse.pool
module.Best, Hugo