-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support non-modules in @require #3041
Conversation
It looks good to me. I would like to pull from your branch to give it a try but the Hyatt wifi is failing me... |
so that additional post-processing can happen on uncanning
allows the dependency function to be called even before the real task arguments are unpacked.
related to #2489 ? |
This is not really related to #2489, other than being an improvement in what objects can be sent and when. |
I have ran the test suite locally under python 2.7 (passed), tried some examples in the notebook and looked through the code. Looks like a nice improvement. I am +1 on merging. |
support non-modules in @require
support non-modules in @require
Functions and other objects can be passed, which implies a push when the function is passed to apply.
This relieves one of the most common complaints in IPython.parallel - allowing multi-function tasks without a
push
call for the intermediate functions.Pinging @ogrisel as the source of the idea at PyData.