I am using SQLAlchemy version 0.9.7. I have ~ 400 tables that I automatically reflect from the database. I would like to cPickle the metadata after reflection and store this, then subsequently unpickle the metadata and use it (for speedup) rather than use reflection again. The pickle goes fine. When trying to unpickle and assign to metadata for subsequent use, I get the following error: metadata_cached = cPickle.load(cache) TypeError: ('__new__() takes exactly 2 arguments (3 given)', <class 'sqlalchemy.sql.elements._defer_name'>, (u'material_type', None)) material_type is one of several custom Postgres types we have defined on our database. I have searched but cannot find a way to address this. Has anyone else tried to do a similar thing? Thanks, Steve
-- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.