SQLALCHEMY FILTER по отношениям

patients = Patient.query.filter(Patient.mother.has(phenoscore=10))
Poised Penguin