this was ticket 255 which i just resolved. the keyword for all create ()/drop() is 'connectable'. create_all()/drop_all() on metadata will also take 'engine', which is deprecated.
On Aug 9, 2006, at 3:48 PM, Brad Clements wrote: > svn rev 1770 > > from http://www.sqlalchemy.org/docs/metadata.myt#metadata_tables > > Under "Creating and Dropping Database Tables" > > Traceback (most recent call last): > File "touchscreen/dbmanage.py", line 176, in ? > main(sys.argv[1:]) > File "touchscreen/dbmanage.py", line 130, in main > table.drop(engine=e) > TypeError: drop() got an unexpected keyword argument 'engine' > > > But this is taken directly from the online docs.. > > Apparently create and drop expect a positional argument, not a > keyword. > > > > > -- > Brad Clements, [EMAIL PROTECTED] (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Sqlalchemy-users mailing list > Sqlalchemy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users