Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:39:09 +0200] rev 2996
Use the iterative task iterator for the ProgramConversion update.
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:26:50 +0200] rev 2995
Changed the working of the iterative_task decorator.
The decorator now needs the logic for the model which it fetches. This is much nicer then "fetching" it using import.
Also order has been removed since it has no use when iterating over all entities when key is involved. Fields to filter can now dynamically be set by the function that is wrapped.
Note that it will merge the filter with the task_default kwarg and it will only use the start_key if their is no key present in the context.
Also note that task_default gathers all kwargs. I tried to do it otherwise (with default kwargs) but I couldn't get it to work. Feel free to improve :).
Lennard de Rijk <ljvderijk@gmail.com> [Wed, 30 Sep 2009 21:10:36 +0200] rev 2994
Removed order property in the getBatchOfData.
This ordering is not possible since you want to go over the entities in order oftheir key and ordering them would prohibit this from happening properly.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:11:54 +0200] rev 2993
Removed the debug logging line from the Task decorator.
Also make use of the next_start_key as name for the new starting key.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:10:08 +0200] rev 2992
Made getBatchOfData use start_key instead of next_key.
Lennard de Rijk <ljvderijk@gmail.com> [Tue, 29 Sep 2009 20:04:24 +0200] rev 2991
Fixed use of wrong dictionary key in Task Decorators.