#NEWLINE# def _update( self , _id , _data , kwds ) : #NEWLINE# #INDENT# '\n        Updates an edge in DB; called by RelationshipProxy update() method.\n        \n        :param _id: Element ID.\n        :param _id: int or str\n\n        :param _data: Optional property data dict.\n        :type _data: dict\n\n        :param kwds: Optional property data keyword pairs. \n        :type kwds: dict\n\n        :rtype: None\n        \n        ' #NEWLINE# ( data , index_name , keys ) = self . get_bundle ( _data , ** kwds ) #NEWLINE# self . __check__ ( data ) #NEWLINE# resp = self . _client . update_indexed_edge ( _id , data , index_name , keys ) #NEWLINE# result = resp . one ( ) #NEWLINE# self . _initialize ( data )