(self)
| 1862 | q = sess.query(Item).with_parent(u1) |
| 1863 | |
| 1864 | def test_m2m(self): |
| 1865 | Item, Keyword = self.classes.Item, self.classes.Keyword |
| 1866 | |
| 1867 | sess = fixture_session() |
| 1868 | i1 = sess.query(Item).filter_by(id=2).one() |
| 1869 | with assertions.expect_deprecated_20(query_wparent_dep): |
| 1870 | k = sess.query(Keyword).with_parent(i1).all() |
| 1871 | assert [ |
| 1872 | Keyword(name="red"), |
| 1873 | Keyword(name="small"), |
| 1874 | Keyword(name="square"), |
| 1875 | ] == k |
| 1876 | |
| 1877 | def test_with_transient(self): |
| 1878 | User, Order = self.classes.User, self.classes.Order |
nothing calls this directly
no test coverage detected