I have a many-to-many (developers & projects) relationship modeled using SA\'s association_proxy. The collections (developers on each project & project
Use any() method of association proxy:
s.query(Developer).filter(Developer.developerProjects.any(status='active'))