Dnia 2009-10-08, czw o godzinie 09:59 -0400, Michael Bayer pisze: > > Is this a SQLAlchemy bug or my mistake? > > Backrefs deal with the two-way relation between A<->B, but the event > does > not propagate in most cases to C or beyond, i.e. A<->B<->C where B is > attached to A would indicate C->B becomes detached in memory. After a > commit() all those references would be expired and then you'd see the > actual connections. >
The funny thing is that it works on two separate classes. It behaves this way when cls.foo = relation(foo ...). What is more, as I have written in Message-Id: <1255006578.18788.11.ca...@cacko>, impl.remove(...) is called, but effect is not visible. This seems a bit inconsistent to me. What do you think? regards, Filip Zyzniewski Tefnet --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
