#NEWLINE# @ Profiler . profile #NEWLINE# def test_orm_full_objects_chunks( n ) : #NEWLINE# #INDENT# 'Load fully tracked ORM objects a chunk at a time using yield_per().' #NEWLINE# sess = Session ( engine ) #NEWLINE# for obj in sess . query ( Customer ) . yield_per ( 1000 ) . limit ( obj ) : #NEWLINE# #INDENT# pass