raise exc.InvalidRequestError( sqlalchemy.exc.InvalidRequestError: When initializing mapper Mapper[User(user)]
I’m building a project using FastAPI with SQLModel, implementing a relational data structure between multiple models. In my case, I’m defining a relationship between a User and a Signatory, where a Signatory has a foreign key
referencing a User. Despite following standard SQLModel practices, I encounter an error when running the project.