parameters: (self, other)
return_statement: return ConverterObject(f"{self.obj_id}-{other.get_id()}-diff", members=obj_diff)
docstring: Returns the obj_diff between two objects as another ConverterObject.
docstring_summary: Returns the obj_diff between two objects as another ConverterObject.
docstring_tokens: Returns the obj_diff between two objects as another ConverterObject .
function: def diff(self, other):
          """
          Returns the obj_diff between two objects as another ConverterObject.
          """
          if type(self) is not type(other):
              raise Exception("type %s cannot be diffed with type %s"
                              % (type(self), type(other)))
  
          obj_diff = {}
  
          for member_id, member in self.members.items():
              obj_diff.update({member_id: member.diff(other.get_member(member_id))})
  
          return ConverterObject(f"{self.obj_id}-{other.get_id()}-diff", members=obj_diff)
function_tokens: def diff ( self , other ) : if type ( self ) is not type ( other ) : raise Exception ( "type %s cannot be diffed with type %s" % ( type ( self ) , type ( other ) ) ) obj_diff = { } for member_id , member in self . members . items ( ) : obj_diff . update ( { member_id : member . diff ( other . get_member ( member_id ) ) } ) return ConverterObject ( f"{self.obj_id}-{other.get_id()}-diff" , members = obj_diff )