The docs for SQLAlchemy make it clear how to call a compiled SQLAlchemy statmeent:
This error occurs when a statement makes use of bindparam() either imp