#NEWLINE# def FromDict( self , dictionary , raise_on_error = True ) : #NEWLINE# #INDENT# self . dat = None #NEWLINE# for ( key , value ) in dictionary . iteritems ( ) : #NEWLINE# #INDENT# self . dat . Append ( k = DataBlob ( ) . SetValue ( key , raise_on_error = raise_on_error ) , v = DataBlob ( ) . SetValue ( value , raise_on_error = raise_on_error ) ) #NEWLINE# #UNINDENT# return self