#NEWLINE# def persist_to( self , commit_request ) : #NEWLINE# #INDENT# if ( not self . modified ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . cleared : #NEWLINE# #INDENT# encoded_value = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# encoded_value = encode_value ( self . value ) #NEWLINE# #UNINDENT# commit_request . value_updates . add ( tag = self . state_key , state_family = '' , value = windmill_pb2 . Value ( data = encoded_value , timestamp = MAX_TIMESTAMP ) )