SQLALCHEMY QUERY SQL

print(q.statement.compile(compile_kwargs={"literal_binds": True}))
Magnificent Markhor