AttributeError: 'CMySQLConnection' object has no attribute 'inside_transaction' when using spanner + mysql dialects in separate engines #221
Labels
api: spanner
Issues related to the googleapis/python-spanner-sqlalchemy API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
SQLAlchemy==1.4.26
sqlalchemy-spanner==1.2.0
mysql-connector-python==8.0.26
Steps to reproduce
Output:
It seems to be similar to the issue that is fixed in this PR: #188
The issue was mentioned here #192 (comment), but when using one engine. While using separate engine works, it still throws that error.
I'm currently using this fork to avoid throwing this error, following the comment from @IlyaFaer here #192 (comment)
but I'm not sure if just avoiding that operation is the correct solution.
Thanks!
The text was updated successfully, but these errors were encountered: