MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / MyBundle

Class MyBundle

test/orm/test_bundle.py:327–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 sess = fixture_session()
326
327 class MyBundle(Bundle):
328 def create_row_processor(self, query, procs, labels):
329 def proc(row):
330 return list(zip(labels, (proc(row) for proc in procs)))
331
332 return proc
333
334 b1 = MyBundle("b1", Data.d1, Data.d2)
335

Callers 1

test_subclassMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_subclassMethod · 0.68