'SQLAlchemy Generate ER Diagram

I am trying to generate an ER diagram from a flask-sqlalchemy database using sqlalchemy-schemadisplay. But it gives me a object of type 'MetaData' have no len() error. Does schemadisplay work on flask-sqlalchmey?

Picture of the code

Picture of the error



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source