Re: [sqlalchemy] clearing mapper for a single table

2011-08-30 Thread Michael Bayer
We generally try to encourage users to create a new class, then map that, rather than removing mappings from an existing class.If all references to a mapped class, including the mapper itself, are lost, the mapping is essentially "cleared". Removing the mapping from an individual class,

[sqlalchemy] clearing mapper for a single table

2011-08-30 Thread Amit Sethi
Hi all , I am a sqlalchemy noom , I am using sqlalchemy on top of a php app(mysql) that actually decides to create a new table in certain situations . So in one of the queries I have to create and load a table dynamically. I am doing this in this fashion. class Z_Current(object): pass z_curre