- changed status to resolved
TypeError: __init__() takes at most 2 arguments (3 given) - mssql.py
Issue #313
resolved
My code makes the following call: self.users = Table('Users', metadata, autoload=True)
and the following error occurs with v1898 of trunk:
Traceback (most recent call last): File "<stdin>", line 1, in ? File "conf/init.py", line 34, in init self.table = tables(self.metadata) File "conf/init.py", line 38, in init self.users = Table('Users', metadata, autoload=True) File "build/bdist.darwin-8.7.1-i386/egg/sqlalchemy/schema.py", line 138, in call File "build/bdist.darwin-8.7.1-i386/egg/sqlalchemy/engine/base.py", line 495, in reflecttable File "build/bdist.darwin-8.7.1-i386/egg/sqlalchemy/databases/mssql.py", line 426, in reflecttable TypeError: init() takes at most 2 arguments (3 given)
Comments (1)
-
Account Deleted - Log in to comment
(original author: ram) Fixed in ref 1900, thanks to Terrance Brannon for the patch