- removed milestone
- marked as major
Bug in with_hint function in mssql
Issue #2354
resolved
Currently it throws error at
File "C:\Python26\lib\site-packages\sqlalchemy-0.7.6-py2.6-win32.egg\sqlalchemy\sql\compiler.py", line 927, in visit_table hinttext = self.get_from_hint_text(table, fromhintstable) TypeError: get_from_hint_text() takes exactly 2 arguments (3 given)
the problem is that signature in mssql dialect is
def get_from_hint_text(self, text): return text
Hence we should change the either the signature by adding table as argument or remove table parameter from sqlalchemy\sql\compiler.py", line 927
Comments (2)
-
repo owner -
repo owner - changed status to duplicate
OK, going to assume for the moment this is a dupe, if further issues let me know thanks !
- Log in to comment
um, that is strange that you have "sqlalchemy-0.7.6" in your path ? Even in tip, the version identifier is only at 0.7.5. This is a dupe of
#2336which has been fixed and was released in 0.7.4. Can I assume you're on an old version here, have been oddly tinkering with your install, and this is just a fixed dupe ?