[sqlalchemy] Re: Custom type definition and "can't adapt 'INSERT INTO...." error

2008-09-27 Thread Sean Davis
On Sep 27, 5:16 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > On Sep 27, 2008, at 3:12 PM, Sean Davis wrote: > > > > > > > I have been playing with new types using sqlalchemy and have an error > > I do not understand.  Table schema and type definition are here: > > > ---

[sqlalchemy] Re: Custom type definition and "can't adapt 'INSERT INTO...." error

2008-09-27 Thread Michael Bayer
On Sep 27, 2008, at 3:12 PM, Sean Davis wrote: > > I have been playing with new types using sqlalchemy and have an error > I do not understand. Table schema and type definition are here: > > - > > def generate_uuid(): >return uuid.uuid1() > > class GU