Well, it appears I have answered my own question and, yes, it was a
SQLAlchemy issue. I resolved the problem by explicitly compiling the
mapping at the end of the model initialization:
manager_mapper = orm.mapper(Manager, manager_table, ... etc.
... (all other dependent mappers)
rootsmith wrote:
Well, it appears I have answered my own question and, yes, it was a
SQLAlchemy issue. I resolved the problem by explicitly compiling the
mapping at the end of the model initialization:
manager_mapper = orm.mapper(Manager, manager_table, ... etc.
... (all other dependent
Thanks for the compile_mappers() call - that is a lot easier than
calling compile() on all the individual mappers.
What is very strange is that I can see at the point of my first
calling on the object from the beaker session, I retrieve it and merge
it successfully into the SQLAlchemy Session.