[sqlalchemy] relationship(with lazy=dynamic) different behavior on session.delete() btw. SA 0.9.3 and SA 1.0.4

2015-05-26 Thread g
Hi all With SA 1.0.4 I can delete rows that i could not delete with SA 0.9.3 . MODEL. Base = declarative_base() class Node(Base): __tablename__ = 'node' id = Column(Integer, primary_key=True) parent_id = Column(Integer, ForeignKey('node.id')) data = Column(String(50))

Re: [sqlalchemy] relationship(with lazy=dynamic) different behavior on session.delete() btw. SA 0.9.3 and SA 1.0.4

2015-05-26 Thread Mike Bayer
On 5/26/15 11:18 AM, g wrote: Hi all With SA 1.0.4 I can delete rows that i could not delete with SA 0.9.3 . your code is relying on a bug in 0.9.3 that was fixed in 0.9.5 (https://bitbucket.org/zzzeek/sqlalchemy/issue/3060) , but we broke other things at the same time and ultimately it