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 tutorial:
>>>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 guess something's
fishy?
Thanks
Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---