def to_xmlrpc(self):
        mode_dict = copy.deepcopy(self.__dict__)
        del mode_dict['id']
        del mode_dict['_state']
        return mode_dict
Returns a Python dict that contains just the attributes we want to expose
dataset/ETHPy150Open dgraziotin/dycapo/server/models/modality.py/Modality.to_xmlrpc