MySQL Connector/Python Release Notes
Syntax:
cursor.clear_attributes()
Clear the list of query attributes on the connector's side, as set by Section 10.5.2, βMySQLCursor.add_attribute() Methodβ.
This method was added in Connector/Python 8.0.26.