MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / MyBundle

Class MyBundle

test/orm/test_bundle.py:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 sess = fixture_session()
322
323 class MyBundle(Bundle):
324 def create_row_processor(self, query, procs, labels):
325 def proc(row):
326 return dict(zip(labels, (proc(row) for proc in procs)))
327
328 return proc
329
330 b1 = MyBundle("b1", Data.d1, Data.d2)
331

Callers 1

test_subclassMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_subclassMethod · 0.68