#NEWLINE# def items( self ) : #NEWLINE# #INDENT# 'Yield the async reuslts for the context.' #NEWLINE# for ( key , task ) in self . _tasks : #NEWLINE# #INDENT# if ( not ( task and task . result ) ) : #NEWLINE# #INDENT# ( yield ( self , None ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( yield ( key , json . loads ( task . result ) [ 'payload' ] ) )