Reply to Daniel's comments in TaskQueue API wiki page.
diff --git a/TaskQueueAPI.wiki b/TaskQueueAPI.wiki index 4af211d..0c5daba 100644 --- a/TaskQueueAPI.wiki +++ b/TaskQueueAPI.wiki
@@ -103,6 +103,10 @@ and that is why we have to pass logic to the decorator which I do not like, because the one way I know how to pass the logic is by name and import it by __import__. Another way would be to import all logics in the decorators.py file, pass only logic name to the task. Maybe there is a better way for doing it? </Daniel> +<Pawel> +I would suggest renaming getOneBatchOfData to getBatchOfData or getDataInBatch. Also The next_key parameter should be renamed to start_key cause it's actually a key where you start and next_key is return by the method. +</Pawel> + In order to use this function, it has to be decorated as a iterative task: {{{ @@ -157,6 +161,7 @@ <Pawel>It would be nice if you could provide an example that interates thru more than 1000 entities based on Task Queue API example in the video</Pawel> <Daniel>Actually the example uses this method (which I used before watching Google I/O video:) - it is all done in decorator. +</Daniel> There are four things that are worth being mentioned: # Final url is generated by applying concrete values to the url.