#NEWLINE# def _to_image( self , data ) : #NEWLINE# #INDENT# extra = { #NEWLINE# #INDENT# 'distribution' : data [ 'distribution' ] , #NEWLINE# #UNINDENT# } #NEWLINE# return NodeImage ( id = data [ 'id' ] , name = data [ 'name' ] , extra = extra , driver = self )