Re: [sqlalchemy] Re: slow get query - somes taking 1.5 sec

2011-06-27 Thread Michael Bayer
Fetching a single row and producing objects, even if a chain of eagerly loaded many-to-ones, is a relatively cheap operation, and it still sounds like network overhead of rows is the main problem.If any columns fetch large binary objects or large amounts textual data, that can take a long ti

[sqlalchemy] discriminator_on_association.py - creating a Customer instance without specifying the addresses attribute

2011-06-27 Thread Yap Sok Ann
Using the discriminator_on_association.py example, if I create a Customer instance without specifying the addresses attribute, the for- loop at the end will throw exception: AttributeError: 'NoneType' object has no attribute 'addresses' It works if I specify "addresses=[]", but that sounds like t