

def set_data(self, data):
    if isinstance(data, (dict, list, str)):
        self._data = self
    else:
        raise ValueError('Data must be dict, HTTPForm, list, or string.')

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py HTTPRequest.set_data/VarMisuse@32/36 `data`->`self`