maybe you can run through all the mappings with a script and produce a textfile indicating the settings for all the relationships. then you can verify that the back_populates code change produces the same thing.


On 9/16/15 3:47 PM, Jonathan Vanasco wrote:
I'm about to migrate about 70 relationships from backref to back_populates so the model reads cleaner/better documented..

Most are straightwordard, but a handful are more complex -- order_by or uselist are on the backref, or there may be a handful of args or primaryjoin on the relationship.

are there any gotchas I should look out for, or should I expect this be straightforward?
--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

--
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 http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to