multi=True là một yêu cầu cho trình kết nối MySql. Bạn không thể đặt cờ này chuyển nó tới các phương thức SQLAlchemy. Thực hiện điều này:
conn = session.connection().connection
cursor = conn.cursor() # get mysql db-api cursor
cursor.execute(sql, multi=True)
Thông tin thêm tại đây: https://www.mail-archive.com /example@sqldat.com/msg30129.html