Hello
Better than a long speech, here are two files (eagerloading1.py,
eagerloading2.py) which, I though, were supposed to do the same thing.
Indeed, the difference is that in the first file, the polymorphic_identity
is hard coded and in the second file, it is set dynamically afterward (like
I've isolated what's happening here, but please send me scripts that generate data next time so that I don't need to take the time to reproduce all of this.the issue is not related to eager loading, it has to do with a many-to-one load of TaxonRelationship.referenced_taxon should pull from the
ack ! totally missed that, sorry.
On Jul 31, 2013, at 10:56 AM, Etienne Rouxel rouxel.etie...@gmail.com wrote:
Hello Michael
Thank you very much for your quick answer.
I did provide the file test-data.sql that generates data. Didn't you see it
or maybe would you like something