zzzeek/sqlalchemy — pull request #33 by anti-social (2013-10-10 13:42:37+00:00)
Title: `subqueryload` for `OneToMany` can produce cartesian product of rows

I don't know whether distinct is right solution but I can't think up the case when it fails.