You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project I'm working on uses pymysql, I tried to pass the Connect class to the AwsWrapperConnection, however, it's failing because it's casting the port argument to a string, even though I'm passing an int.
I patched the initfor the Connection to enforce the int type for the port. However, looks like it isn't the only issue. Now, I'm getting an error related to the in_transaction property:
File "/venv/lib/python3.12/site-packages/aws_advanced_python_wrapper/mysql_driver_dialect.py", line 124, in is_in_transaction
raise UnsupportedOperationError(
aws_advanced_python_wrapper.UnsupportedOperationError: [DriverDialect] target driver 'MySQL Connector Python' dialect doesn't support 'in_transaction'.
Activity
LucasPedrosoTI commentedon Dec 2, 2024
I patched the
initfor theConnectionto enforce theinttype for the port. However, looks like it isn't the only issue. Now, I'm getting an error related to thein_transactionproperty: