#NEWLINE# def put( self , key , value ) : #NEWLINE# #INDENT# check_not_none ( key , "key can't be None" ) #NEWLINE# check_not_none ( value , "value can't be None" ) #NEWLINE# key_data = self . _to_data ( key ) #NEWLINE# value_data = self . _to_data ( value ) #NEWLINE# return self . _encode_invoke_on_key ( multi_map_put_codec , key_data , key = key_data , value = value_data , thread_id = thread_id ( ) )