|
@@ -5,13 +5,13 @@
|
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
|
- <title>Tasks - celery.task — Celery v0.1.15 documentation</title>
|
|
|
+ <title>Tasks - celery.task — Celery v0.2.0-pre1 documentation</title>
|
|
|
<link rel="stylesheet" href="../static/default.css" type="text/css" />
|
|
|
<link rel="stylesheet" href="../static/pygments.css" type="text/css" />
|
|
|
<script type="text/javascript">
|
|
|
var DOCUMENTATION_OPTIONS = {
|
|
|
URL_ROOT: '../',
|
|
|
- VERSION: '0.1.15',
|
|
|
+ VERSION: '0.2.0-pre1',
|
|
|
COLLAPSE_MODINDEX: false,
|
|
|
FILE_SUFFIX: '.html',
|
|
|
HAS_SOURCE: true
|
|
@@ -19,7 +19,7 @@
|
|
|
</script>
|
|
|
<script type="text/javascript" src="../static/jquery.js"></script>
|
|
|
<script type="text/javascript" src="../static/doctools.js"></script>
|
|
|
- <link rel="top" title="Celery v0.1.15 documentation" href="../index.html" />
|
|
|
+ <link rel="top" title="Celery v0.2.0-pre1 documentation" href="../index.html" />
|
|
|
<link rel="next" title="Task Result - celery.result" href="celery.result.html" />
|
|
|
<link rel="prev" title="celery - Distributed Task Queue for Django." href="../introduction.html" />
|
|
|
</head>
|
|
@@ -39,7 +39,7 @@
|
|
|
<li class="right" >
|
|
|
<a href="../introduction.html" title="celery - Distributed Task Queue for Django."
|
|
|
accesskey="P">previous</a> |</li>
|
|
|
- <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li>
|
|
|
+ <li><a href="../index.html">Celery v0.2.0-pre1 documentation</a> »</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
@@ -454,7 +454,7 @@ of subtask ids.</td>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="field"><th class="field-name" colspan="2">Raises <a title="celery.registry.NotRegistered" class="reference external" href="celery.registry.html#celery.registry.NotRegistered">celery.registry.NotRegistered</a>:</th></tr>
|
|
|
-<tr><td> </td><td class="field-body"><p class="first">exception if no such task
|
|
|
+<tr><td> </td><td class="field-body"><p class="first">exception if no such task
|
|
|
has been registered in the task registry.</p>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -574,42 +574,6 @@ defined in the REPL (the objects must have an associated module).</p>
|
|
|
</table>
|
|
|
</dd></dl>
|
|
|
|
|
|
-<dl class="function">
|
|
|
-<dt id="celery.task.mark_as_done">
|
|
|
-<tt class="descclassname">celery.task.</tt><tt class="descname">mark_as_done</tt><big>(</big><em>task_id</em>, <em>result</em><big>)</big><a class="headerlink" href="#celery.task.mark_as_done" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dd><p>Mark task as done (executed successfully).</p>
|
|
|
-<table class="docutils field-list" frame="void" rules="none">
|
|
|
-<col class="field-name" />
|
|
|
-<col class="field-body" />
|
|
|
-<tbody valign="top">
|
|
|
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
|
|
-<li><em>task_id</em> – id of the task.</li>
|
|
|
-<li><em>result</em> – the return value of the task.</li>
|
|
|
-</ul>
|
|
|
-</td>
|
|
|
-</tr>
|
|
|
-</tbody>
|
|
|
-</table>
|
|
|
-</dd></dl>
|
|
|
-
|
|
|
-<dl class="function">
|
|
|
-<dt id="celery.task.mark_as_failure">
|
|
|
-<tt class="descclassname">celery.task.</tt><tt class="descname">mark_as_failure</tt><big>(</big><em>task_id</em>, <em>exc</em><big>)</big><a class="headerlink" href="#celery.task.mark_as_failure" title="Permalink to this definition">¶</a></dt>
|
|
|
-<dd><p>Mark task as done (executed).</p>
|
|
|
-<table class="docutils field-list" frame="void" rules="none">
|
|
|
-<col class="field-name" />
|
|
|
-<col class="field-body" />
|
|
|
-<tbody valign="top">
|
|
|
-<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
|
|
-<li><em>task_id</em> – id of the task.</li>
|
|
|
-<li><em>exc</em> – the exception instance raised by the task.</li>
|
|
|
-</ul>
|
|
|
-</td>
|
|
|
-</tr>
|
|
|
-</tbody>
|
|
|
-</table>
|
|
|
-</dd></dl>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -661,7 +625,7 @@ defined in the REPL (the objects must have an associated module).</p>
|
|
|
<li class="right" >
|
|
|
<a href="../introduction.html" title="celery - Distributed Task Queue for Django."
|
|
|
>previous</a> |</li>
|
|
|
- <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li>
|
|
|
+ <li><a href="../index.html">Celery v0.2.0-pre1 documentation</a> »</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="footer">
|