MySQL Connector/Python Developer Guide / ... / Connector/Python API Reference / cursor.MySQLCursor Class / MySQLCursor.get_attributes() Method
Syntax:
cursor.get_attributes()Return a list of existing query attributes, as set bySection 10.5.2, “MySQLCursor.add_attribute() Method”.
This method was added in Connector/Python 8.0.26.