Currents deps
mysql-connector-python==9.2.0
aws-lambda-powertools==3.6.0
aws_xray_sdk==2.14.0
Then in the lambda I notice this in the logs
Traceback (most recent call last):
File "/var/task/aws_xray_sdk/core/utils/conversion.py", line 22, in metadata_to_dict
for item in obj:
^^^
TypeError: 'MySQLConnection' object is not iterable
My integration of xray is just
from aws_xray_sdk.core import xray_recorder
xray_recorder.configure(service=os.getenv("IMPORTER_POWERTOOLS_SERVICE_NAME"))