Re: [sqlalchemy] Attribute history for columns with no explicit default

2017-03-13 Thread Simon King
On Mon, Mar 13, 2017 at 1:50 PM, mike bayer wrote: > > > On 03/13/2017 08:34 AM, Simon King wrote: >> >> Hi, >> >> I'm not sure if the problem I've got is a bug or intended behaviour. >> Here's a test script: >> >> >> # >> import

Re: [sqlalchemy] Attribute history for columns with no explicit default

2017-03-13 Thread mike bayer
On 03/13/2017 08:34 AM, Simon King wrote: Hi, I'm not sure if the problem I've got is a bug or intended behaviour. Here's a test script: # import sqlalchemy as sa import sqlalchemy.orm as saorm from sqlalchemy.ext.declarative import declarative_base

Re: [sqlalchemy] after_update for ARRAY types

2017-03-13 Thread mike bayer
ARRAY needs mutability to detect appends: http://docs.sqlalchemy.org/en/latest/orm/extensions/mutable.html?highlight=mutable#sqlalchemy.ext.mutable.MutableList On 03/12/2017 06:59 AM, Asif Mahmud wrote: Hi, I'm not sure if it's a bug or I'm missing something. The thing is, I tried to