I am unable to send object to direct view workers. Here is what I want to do:
class Test: def __init__(self): self.id = 'ddfdf' from IPython.parallel import Client rc = Client() dv = rc[:] t = Test() dv['t'] = t print dv['t'] NameError: name 't' is not defined
This would work if I try to push pandas object or any of the build in objects. What is the way to do it with custom object?
I tried:
dv['Test'] = Test dv['t'] = t print dv['t'] UnpicklingError: NEWOBJ class argument isn't a type object