When I try to use autoload=True to access existing tables I get the
following error with SQLAlchemy. I see this has been reported before,
but I did not see a solution. Is there a fix?
Thanks
John Bradbury
"This SchemaItem is not connected to any Engine or Connection."
First lines from model.py below:
from datetime import datetime
from sqlalchemy import *
from turbogears.database import metadata, session
from sqlalchemy.ext.assignmapper import assign_mapper
from turbogears import identity
# The identity schema.
transjobs_table = Table('JOBS',metadata, autoload=True)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---