Re: [sqlalchemy] ORM and objects with properties that need conversion to write to database

2020-10-08 Thread Richard Damon
Thank you, that looks like what I was looking for but didn't know what it was called. On 10/8/20 4:55 AM, Simon King wrote: > On Thu, Oct 8, 2020 at 3:38 AM Richard Damon wrote: >> I am working on a app using SQLAlchemy's ORM layer to interface to the >> database, but I am running into an issue

Re: [sqlalchemy] ORM and objects with properties that need conversion to write to database

2020-10-08 Thread Simon King
On Thu, Oct 8, 2020 at 3:38 AM Richard Damon wrote: > > I am working on a app using SQLAlchemy's ORM layer to interface to the > database, but I am running into an issue that if an object has > 'complicated' property, like a UUID, that SQLAlchemy doesn't know how to > handle. One option would be t

[sqlalchemy] ORM and objects with properties that need conversion to write to database

2020-10-07 Thread Richard Damon
I am working on a app using SQLAlchemy's ORM layer to interface to the database, but I am running into an issue that if an object has 'complicated' property, like a UUID, that SQLAlchemy doesn't know how to handle. One option would be to make the propery actually only hold a database suitable repre