We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
models.py
children = db.relationship("Chile", secondary=many_to_many_table, backref=db.backref("parents",lazy=True),lazy="subquery")
should be
children = db.relationship("Child", secondary=many_to_many_table, backref=db.backref("parents",lazy=True),lazy="subquery")