On Nov 17, 2007, at 4:27 AM, iain duncan wrote:
Hi Michael et al. I don't know if this is a versioning conflict or
what
not. I know I had done this fine before in the past, so maybe
something
changed. Anyway, with sa 0.3.11 and python 2.4.3 and mysql 5.0.22,
following the sa 0.3
from sqlalchemy import *
db = create_engine('mysql://web:[EMAIL PROTECTED]/db_name')
metadata = MetaData()
metadata.bind(db)
TypeError: 'NoneType' object is not callable
However this still works:
metadata = MetaData(db)
The tutorial still says the two are equivalent, so I