MySQL Connector/Python Developer Guide

10.5.4 MySQLCursor.get_attributes() Method

Syntax:

cursor.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.