MySQL Connector/Python Developer Guide

10.5.3 MySQLCursor.clear_attributes() Method

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.