PyMySQL AssertionError: result length not requested length

I have a Python 3.4 application in beta that I am testing using PyMySQL 0.6.3 to connect to MySQL. I am getting random errors, AssertionError: Result length is not requested. This is a multi-threaded application and this post is Celery and SQLAlchemy. This result object does not return strings. It was automatically closed , suggested that it might be due to thread connection, which is probably happening. How can I solve this? PyMySQL does not provide connection pooling as suggested in the post.

+3


source to share





All Articles