Traceback (most recent call last):


 "/home/travis/.local/lib/python2.7/site-packages/ray-0.1.2-py2.7-linux-x86_64.egg/ray/worker.py", line 1504, in fetch_and_execute_function_to_run

function = pickle.loads(serialized_function)


 "/home/travis/miniconda/lib/python2.7/pickle.py", line 1388, in loads

return Unpickler(file).load()


 "/home/travis/miniconda/lib/python2.7/pickle.py", line 864, in load

dispatch[key](self)


 "/home/travis/miniconda/lib/python2.7/pickle.py", line 1139, in load_reduce

value = func(*args)


 "/home/travis/miniconda/lib/python2.7/site-packages/cloudpickle/cloudpickle.py", line 1053, in _rehydrate_skeleton_class

setattr(skeleton_class, attrname, attr)
AttributeError: attribute '__dict__' of 'type' objects is not writable

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/builder.py", line 99, in __call__

self._request_definition.define_request(request_builder, args, kwargs)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/commands.py", line 267, in define_request

self._argument_handler.handle_call(


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/arguments.py", line 153, in handle_call

self.handle_call_args(request_builder, call_args)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/arguments.py", line 158, in handle_call_args

annotation.modify_request(request_builder, call_args[name])


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/arguments.py", line 182, in modify_request

self._modify_request(request_builder, converter(value))


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/converters/interfaces.py", line 6, in __call__

return self.convert(*args, **kwargs)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/converters/standard.py", line 19, in convert

return self._converter(value)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/converters/interfaces.py", line 6, in __call__

return self.convert(*args, **kwargs)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/converters/standard.py", line 30, in convert

dumped = json.dumps(value, default=self._default_json_dumper)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/json/__init__.py", line 234, in dumps

return cls(


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/home/mjholler/.pyenv/versions/3.8.0/lib/python3.8/site-packages/uplink/converters/standard.py", line 25, in _default_json_dumper

return obj.__dict__
# pragma: no cover
AttributeError: 'bytearray' object has no attribute '__dict__'
