On Wednesday, February 5, 2020 at 4:50:36 PM UTC-5, Mike Bayer wrote: > > what conditions would cause the "uselist" to be incorrect? >
If `Foo.bars` declares: uselist=True, back_populates_uselist=False but `Bar.foo` declares: uselist=True, back_populates_uselist=True I want to catch `Foo.bars` specified `back_populates_uselist=False`, but the back_populates relationship `Bar.foo` specified `uselist=True`. i.e.. each side of the relationship agrees they are in a one-to-many or one-to-one relationship, instead of them independently defining only their side. -- 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 sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/3219e8a7-63e4-446e-8eef-641b3d86b339%40googlegroups.com.