Hi

Is there a situation where the commands:

session.close()
clear_mappers()

fail to clear the current mappers ?
I get the error :

InvalidRequestError: Table 'accounts' is already defined for this 
MetaData instance.  Specify 'useexisting=True' to redefine options and 
columns on an existing Table object.

when I try to map a class to a table that has already been mapped , 
although I execute the two commands above before remapping.

Thanks for your advice
Peter

--

You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.


Reply via email to