SQLALCHEMY QUERY SQL compilado

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