How to mark “lazy=raise_on_sql” collections on new SQLAlchemy model instance as loaded?

后端 未结 0 1402
礼貌的吻别
礼貌的吻别 2021-01-22 02:32

Say that I have two SQLAlchemy models that look like...

class Child(ModelBase):
    __tablename__ = "child"

    parent_id = sa.Column(sa.Integer, sa.Fo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题