[IPython-user] kernel.Task's depend not working

Brian Granger ellisonbg.net@gmail....
Fri Apr 3 00:36:14 CDT 2009

This all applies to the current trunk...

Both the MapTask and StringTask classes have a depend keyword
argument.  Here is the docstring.

            depend : FunctionType
                A function that is called to test for properties.  This function
                must take one argument, the properties dict and return a boolean

The properties dict for each engine can be manipulated with the
MultiEngineClient.*_properties methods.



On Fri, Oct 24, 2008 at 12:38 AM, Yichun Wei <yichun.wei@gmail.com> wrote:
> Hi,
> Kinda wondering about the status of the kernel.task.Task object, I
> have not tried the parallel stuff in the new IPython (>=0.9.0) but am
> thinking about migrating over to the new IPython.
> Correct me please: since I did not see anything about "depend=" in the
> document, nor in any tests, should I assume the dependency feature of
> Tasks is removed? That dependency feature once existed in IPython1. Is
> it being removed during the merge?
> Thanks a lot for the IPython parallel computing work!
> -yichun
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-user mailing list