[sqlalchemy] reconstruct_instance not being called when adding an extension dynamically

2010-10-04 Thread Ritesh Nadhani
Hello This has been making me pull my hair for quite sometime now :) I am trying to use MapperExtension and I have a code like: http://bpaste.net/show/9936/ Basically, I share the model across two apps, so I want one with the extension and one without. Thus the need to use one of the internal

Re: [sqlalchemy] reconstruct_instance not being called when adding an extension dynamically

2010-10-04 Thread Ritesh Nadhani
On Mon, Oct 4, 2010 at 5:45 PM, Michael Bayer mike...@zzzcomputing.com wrote: On Oct 4, 2010, at 8:26 PM, Ritesh Nadhani wrote: Hello This has been making me pull my hair for quite sometime now :) I am trying to use MapperExtension and I have a code like: http://bpaste.net/show/9936

[sqlalchemy] Re: OrderingList with a secondary table

2009-09-18 Thread Ritesh Nadhani
Hi I am looking for something similar. Any chance you can post an example? On Mon, May 25, 2009 at 5:13 AM, Christophe de VIENNE cdevie...@gmail.com wrote: Hi again, Sorry for answering my own message, but it seems that I found the solution. I will be using a combination of orderinglist

[sqlalchemy] Re: MySql has gone away

2009-04-16 Thread Ritesh Nadhani
Hello Even I am getting the same error. I thought pool_recycle was the option to look into after doing research on Google. For testing, I have a MySQL server with wait_timeout set to 10 seconds. http://paste.pocoo.org/show/112820/ On Wed, Apr 15, 2009 at 11:36 PM, reetesh nigam

[sqlalchemy] Re: Composite columns with declarative base

2008-11-04 Thread Ritesh Nadhani
Unfortunately, it still gives me an error. http://paste.pocoo.org/show/90191 Did I miss something? PS: I added the __get__ method just for the fun of it, I have no idea what it does. Looking at the docs: