Re: [sqlalchemy] dialect sensible declaration

2012-07-15 Thread Michael Bayer
On Jul 15, 2012, at 5:53 AM, alex bodnaru wrote: > > hello michael, friends, > > On 07/11/2012 10:31 AM, alex bodnaru wrote: >> >> hello michael, >> >> now it works. i also had to add uselist=False. >> >> i tried it the longest way possible, by adding a Pool first_connect listener, >> but th

Re: [sqlalchemy] AbstractConcreteBase and `type` attribute

2012-07-15 Thread Michael Bayer
On Jul 15, 2012, at 10:03 AM, Karol Kuczmarski wrote: > > Right, but as I've said before, it still has to be done on per-subclass > basis. I'm not sure how typical my use case, > but it seems fairly reasonable that most of the time, the `type` attribute > would simply refer to polymorphic_iden

Re: [sqlalchemy] AbstractConcreteBase and `type` attribute

2012-07-15 Thread Karol Kuczmarski
First, thanks for the write-up on details of (Abstract)ConcreteBase helpers. I read this much from their source (and docs on how to do concrete inheritance "the old way", i.e. non-declarative), but it clarified a couple of points. On Sunday, July 15, 2012 2:55:52 AM UTC+2, Michael Bayer wrote:

Re: [sqlalchemy] dialect sensible declaration

2012-07-15 Thread alex bodnaru
hello michael, friends, On 07/11/2012 10:31 AM, alex bodnaru wrote: > > hello michael, > > now it works. i also had to add uselist=False. > > i tried it the longest way possible, by adding a Pool first_connect listener, > but this was not really needed. just the uselist. > > thanks a lot, > a