Re: [sqlalchemy] persisted enum value from PEP-435 enum

2017-12-26 Thread Jon Snyder
Thank you very much. You can see the changes I've tried here . When I test them out, I use the script in this gist. When I put a breakpoint into

Re: [sqlalchemy] persisted enum value from PEP-435 enum

2017-12-26 Thread Mike Bayer
On Tue, Dec 26, 2017 at 12:49 PM, Jon Snyder wrote: > I've started on this, by adding a new kwarg to Enum that allows passing a > function which returns the list of values. What I'm running into - and this > is just not having a good understanding of the internals - is that

Re: [sqlalchemy] persisted enum value from PEP-435 enum

2017-12-26 Thread Jon Snyder
I've started on this, by adding a new kwarg to Enum that allows passing a function which returns the list of values. What I'm running into - and this is just not having a good understanding of the internals - is that by the time adapt_emulated_to_native() is called, the original kwargs seem to be