Forums

cls, key = identity_key(instance=obj) ValueError: too many values to unpack (expected 2)

It seems the error I am receiving is something similar to this thread. https://stackoverflow.com/questions/48390207/sql-alchemy-valueerror-too-many-values-to-unpack

I am a novice -- what do I need to do to prevent this error.

I am using a flask app with mysql

Check the answer to that stackoverflow post?

Re-read the answer after some sleep .. problem solved. apologies for the lame post