#NEWLINE# def loadDataFromDict( self , d ) : #NEWLINE# #INDENT# 'assumes that d is a list' #NEWLINE# self . items = [ LDObject . fromDict ( element , type_hint = self . ELEMENT_TYPE ) for element in self ] #NEWLINE# self . wrapped_obj = [ item . wrapped_obj for item in self . items ]