WikiSQL icon indicating copy to clipboard operation
WikiSQL copied to clipboard

Records library need to be patched for Sqlachemy 2.x

Open prasad83 opened this issue 2 years ago • 1 comments

evaluate.py fails when records library depends on sqlachemy 2.x

TypeError: execute() got an unexpected keyword argument 'name'

records.py need changes refer this pull request

prasad83 avatar May 02 '23 15:05 prasad83

1.in records.py, change line 361 to cursor = self._conn.execute(text(query), dict(**params)) 2.records.py, line 40 change to return list(self._keys) then it's ok to run

fi5ee avatar Feb 15 '24 04:02 fi5ee