[sqlalchemy] Manage encryption on arbitrary column type

2019-12-04 Thread Hameer Abbasi
Hello. I've created an encryption wrapper that marshals things in and out of encryption, except that for the TypeDecorator the input and output type are different. I'm having trouble wrapping float and Enum types while still keeping them queryable. Can someone take a look at the attached reprod

Re: [sqlalchemy] Manage encryption on arbitrary column type

2019-12-04 Thread Hameer Abbasi
Thanks. Yes, that's enough for my use-case, more than enough, to be honest. Out of curiosity, how would you do it for a native ENUM? Thanks a lot! On Wednesday, December 4, 2019 at 4:09:36 PM UTC+1, Mike Bayer wrote: > > > > On Wed, Dec 4, 2019, at 7:57 AM, Hameer Abbasi wrote