mysql-connector 9.2.0 - TypeError: 'MySQLConnection' object is not iterable
Open
- Dominant language
- Python
- Stars
- 338
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
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
```python
from aws_xray_sdk.core import xray_recorder
xray_recorder.configure(service=os.getenv("IMPORTER_POWERTOOLS_SERVICE_NAME"))
```
Contributor guide
Assessment
This issue has not been assessed yet.