attributeerror: ‘localstack’ object has no attribute ‘__ident__func__’

In this article we will quicky resolve attributeerror: ‘localstack’ object has no attribute ‘__ident__func__. This issue arose in flask-sqlalchemy.

Solution

1. For non-docker builds

First uninstall flask-sqlalchemy

python -m pip uninstall flask-sqlalchemy

Then install the latest version –

python -m pip install flask-sqlalchemy

2. For Docker Builds –