MySQL Connector/Python Developer Guide

10.1.2 mysql.connector.apilevel Property

This property is a string that indicates the supported DB API level.

>>> mysql.connector.apilevel
'2.0'