Per eseguire un cast esplicito di un array literal nel dialetto PostgreSQL di SQLAlchemy, usate il tipo ARRAY con cast.