[sqlalchemy] polymorphic trouble when used into a JOIN

2014-10-09 Thread Aurélien C .
Hi, I have a class which represents a table with polymorphic enabled. When I directly access to this table the polymorphic mechanism adds the needed condition and everything works perfectly. However when this table is joined to a request the condition is missing… I attached a quick sample to

Re: [sqlalchemy] polymorphic trouble when used into a JOIN

2014-10-09 Thread Michael Bayer
On Oct 9, 2014, at 6:45 PM, Aurélien C. aurelien.s.qlalch...@ap2c.com wrote: Hi, I have a class which represents a table with polymorphic enabled. When I directly access to this table the polymorphic mechanism adds the needed condition and everything works perfectly. However when this