When SQL text contains '%' sign, DB API driver treats it as query parameter placeholder and it leads to TypeError: dict is not a sequence when executing that SQL without parameters. This behaviour is a consequence of changes made in #18 where SQLAlchemy parameter binding was bypassed but underlying DB-API driver wasn't. My proposed solution is to escape all '%' signs (replace them with double percent: '%%') in SQL text before executing it with driver so that such sequences are not recognized as parameters.
When SQL text contains '%' sign, DB API driver treats it as query parameter placeholder and it leads to
TypeError: dict is not a sequence
when executing that SQL without parameters. This behaviour is a consequence of changes made in #18 where SQLAlchemy parameter binding was bypassed but underlying DB-API driver wasn't. My proposed solution is to escape all '%' signs (replace them with double percent: '%%') in SQL text before executing it with driver so that such sequences are not recognized as parameters.