MySQL Connector/Python Release Notes
Syntax:
Press CTRL+C to copycursor.get_attributes()
Return a list of existing query attributes, as set by Section 10.5.2, “MySQLCursor.add_attribute() Method”.
This method was added in Connector/Python 8.0.26.