I don\'t have much experience with SQLAlchemy and I have a problem, which I can\'t solve. I tried searching and I tried a lot of code. This is my Class (reduced to the most
This is a more general answer on how to query relationships.
relationship(..., lazy='dynamic', ...)
This allows you to:
parent_obj.some_relationship.filter(ParentClass.some_attr==True).all()