I get this error when creating a BoundMetaData object in SQLAlchemy 0.3.10. The fix is to just use MetaData instead of BoundMetaData. BoundMetaData is deprecated and replaced with MetaData
Example code:
from sqlalchemy import *
db = create_engine('sqlite:///test.db')
metadata = MetaData(db)
"""
Continue with the rest of your Python code
"""
Tags: database, python, sqlalchemy









Thanks for this, been banging my head trying to use BoundMetaData() for about an hour.
04.04.08 at 4:16 am
I would also like to thank you.Why is it that complex problems have simple solutions and viceversa?
F.
09.29.08 at 3:35 pm
This was great help. Thanks. After LINQ – trying SqlAlchemy – specifically echo statement was great benefit.
07.08.09 at 11:49 pm
My pleasure guys..
07.17.09 at 11:09 am