Bug in with_hint function in mssql

Issue #2354 resolved
Former user created an issue

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)

  1. Mike Bayer repo owner
    • removed milestone
    • marked as major

    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 #2336 which 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 ?

  2. Log in to comment