MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/orm/test_composites.py:196–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 sess.close()
195
196 def go():
197 g2 = sess.get(
198 Graph, g.id, options=[sa.orm.joinedload(Graph.edges)]
199 )
200
201 eq_(
202 [(e.start, e.end) for e in g2.edges],
203 [(Point(3, 4), Point(5, 6)), (Point(14, 5), Point(2, 7))],
204 )
205
206 self.assert_sql_count(testing.db, go, 1)
207

Callers

nothing calls this directly

Calls 4

eq_Function · 0.90
joinedloadMethod · 0.80
PointClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected