Suppose, I have following two tables in models.py:
class A(db.Model): id = db.Column(Integer, primary_key=True) name = db.Colu