Getting docs ready fro 0.2.0

This commit is contained in:
Ilan Steemers
2015-07-03 19:57:45 +02:00
parent 83b12629ea
commit 28887decab
6 changed files with 147 additions and 11 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ Use :py:func:`async` from your code to quickly offload tasks to the py:module:`
def print_result(task):
print(task.result)
.. py:function:: async(func, *args, [hook=None,] **kwargs)
.. py:function:: async(func, *args, hook=None, **kwargs)
Puts a task in the cluster queue
@@ -47,7 +47,7 @@ Use :py:func:`async` from your code to quickly offload tasks to the py:module:`
:param str name: the name of the task
:returns: The result of the executed task
.. py:function:: get_task(name)
.. py:function:: fetch(name)
Returns a previously executed task