[sqlalchemy] Re: Load Lazy Relation in Separate Thread

2007-09-14 Thread John Lorance
Don't know how you are rendering this; but if this a web app, you could make an Ajax call which fires off the query, draw the grey bar, and have the callback from the Ajax query then render the results when they are ready.. On Sep 13, 2007, at 11:26 AM, Koen Bok wrote: Hi, I am doing

[sqlalchemy] How to most effectively associate child objects to parents upon _init__ (lookup tables)

2007-06-05 Thread John Lorance
I'm newish to SqlAlchemy and for the life of me I can't figure out how to properly set things up so that lookup tables(objects) are cached and/or it is easy for new parent objects to associate to their childing upon initialization. See below for code snippet and sample problem. from sqlalchemy