On Tue, May 5, 2015 at 2:45 AM, Gerald Thibault dieselmach...@gmail.com wrote:
I have 2 classes, User and Address (i tried to make my test case resemble
the contents of
http://docs.sqlalchemy.org/en/latest/orm/loading_relationships.html#contains-eager),
defined like this:
from sqlalchemy
This example is simplified from my actual code, in which I am filtering the
child objects, so joinedload isn't an option.
I've solved the issue by using .one() instead of .first(), which seems to
eliminate the filter, so everything is working, although I'm not sure what
is being done
I have 2 classes, User and Address (i tried to make my test case resemble
the contents
of
http://docs.sqlalchemy.org/en/latest/orm/loading_relationships.html#contains-eager),
defined like this:
from sqlalchemy import *
from sqlalchemy.ext.declarative import declarative_base
from