[sqlalchemy] Can a @hybrid_property be overriden?

2016-10-07 Thread HP3
Hello all, Can a @hybrid_property be overriden by a subclass? Consider this modified example: (from http://docs.sqlalchemy.org/en/rel_0_9/orm/extensions/hybrid.html#correlated-subquery-relationship-hybrid) A subclass of User, UserWithBonuses, have its computed `balance` by adding all balances

[sqlalchemy] SQLAlchemy 1.1.1 Released

2016-10-07 Thread Mike Bayer
SQLAlchemy release 1.1.1 is now available. Release 1.1.1 includes two quick hits to issues reported in 1.1.0, released two days ago. One is a failure to connect to some configurations of SQL Server with pyodbc, and the other is that a newly added CompileError that intercepts primary key

Re: [sqlalchemy] Question regarding detached object

2016-10-07 Thread Simon King
> On 7 Oct 2016, at 14:33, Ludovic Beliveau wrote: > > Hi, > > I know this subject has been covered many times in this group and I've read a > lot on it in the past few days. But there is still something that I can't > explain/understand with detached object. > > The

Re: [sqlalchemy] regression with 1.1.0

2016-10-07 Thread mike bayer
FYI pg8000 raises ProgrammingError on these On 10/07/2016 08:56 AM, Mike Bayer wrote: On 10/07/2016 02:36 AM, Chris Withers wrote: On 06/10/2016 15:04, Mike Bayer wrote: So Mortar seems to be a heavily SQLAlchemy-integrated product. It has a very small user base ;-) I'd like to point

[sqlalchemy] Question regarding detached object

2016-10-07 Thread Ludovic Beliveau
Hi, I know this subject has been covered many times in this group and I've read a lot on it in the past few days. But there is still something that I can't explain/understand with detached object. The issue was happening very rarely, the error I was getting was: DetachedInstanceError: Parent

Re: [sqlalchemy] regression with 1.1.0

2016-10-07 Thread Mike Bayer
On 10/07/2016 02:36 AM, Chris Withers wrote: On 06/10/2016 15:04, Mike Bayer wrote: So Mortar seems to be a heavily SQLAlchemy-integrated product. It has a very small user base ;-) I'd like to point out that whenever we do these year-long release cycles, I put out a lot of betas very

Re: [sqlalchemy] regression with 1.1.0

2016-10-07 Thread Chris Withers
On 06/10/2016 15:04, Mike Bayer wrote: So Mortar seems to be a heavily SQLAlchemy-integrated product. It has a very small user base ;-) I'd like to point out that whenever we do these year-long release cycles, I put out a lot of betas very early on that hopefully contain all the biggish