Re: [sqlalchemy] Re: mapped selectable forgets its primary key

2012-11-26 Thread Michael Bayer
On Nov 23, 2012, at 8:55 PM, Gabriel wrote: On Thu, 22 Nov 2012 21:24:08 -0500, Michael Bayer wrote: there's a lot going on here, though an initial idea would be when mapping to a __table__ that is in fact a select(), make that select() in terms of a Table object, not the Inode mapped class.

[sqlalchemy] Re: mapped selectable forgets its primary key

2012-11-26 Thread Gabriel
On Mon, 26 Nov 2012 09:14:36 -0500, Michael Bayer wrote: On Nov 23, 2012, at 8:55 PM, Gabriel wrote: On Thu, 22 Nov 2012 21:24:08 -0500, Michael Bayer wrote: there's a lot going on here, though an initial idea would be when mapping to a __table__ that is in fact a select(), make that

[sqlalchemy] Re: mapped selectable forgets its primary key

2012-11-23 Thread Gabriel
On Thu, 22 Nov 2012 21:24:08 -0500, Michael Bayer wrote: there's a lot going on here, though an initial idea would be when mapping to a __table__ that is in fact a select(), make that select() in terms of a Table object, not the Inode mapped class. The columns as accessed from the Inode class