

def to_xmlrpc(self):
    '\n        Returns a Python dict that contains just the attributes we want to expose\n        in out XML-RPC methods\n        '
    mode_dict = copy.deepcopy(mode_dict.__dict__)
    del mode_dict['id']
    del mode_dict['_state']
    return mode_dict

dataset/ETHPy150Open dgraziotin/dycapo/server/models/modality.py Modality.to_xmlrpc/VarMisuse@18/66 `self`->`mode_dict`