app.models.base.Base.bind_ctx

classmethod Base.bind_ctx(database, bind_refs=True, bind_backrefs=True)