I have a small companion library that I wrote for model-to-dict serialization. I just updated to 1.2.0 and one of my tests is failing --
https://gitlab.com/sloat/SerialAlchemy/blob/master/tests/test_to_dict.py#L193 In 1.1.x, it worked as expected, but in 1.2, the primary-key is added to the serialized profile field. So the output is now: { 'firstname': 'test', 'profile': { 'id': 3, 'somefield': 'somevalue' }, } I just wanted to make sure this is expected behavior from SQLAlchemy. It's not a problem for me to update the test, it won't impact the actual functionality of the library. -Matt -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
