Skip to content

Commit

Permalink
deploy: 1ef9c28
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Aug 27, 2024
1 parent 9b1af99 commit e0410aa
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 54 deletions.
Binary file modified .doctrees/README.doctree
Binary file not shown.
Binary file modified .doctrees/docs/src/API.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
22 changes: 5 additions & 17 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,38 +272,26 @@ <h2>Overview<a class="headerlink" href="#overview" title="Link to this heading">
</tr>
</thead>
<tbody>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(PASS,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same DAG to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.STOP)</span></code></p></td>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(PASS,</span> <span class="pre">STOP)</span></code></p></td>
<td class="text-left"><p>Finish the DAG, until its next scheduled run</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.FAIL,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(FAIL,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same DAG to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">fail</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.FAIL,</span> <span class="pre">Action.STOP)</span></code></p></td>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(FAIL,</span> <span class="pre">STOP)</span></code></p></td>
<td class="text-left"><p>Finish the DAG, until its next scheduled run</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">fail</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(*,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(*,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Continue to run the Sensor</p></td>
<td class="text-left"><p>N/A</p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
</tbody>
</table>
</div>
Expand Down
17 changes: 7 additions & 10 deletions _sources/README.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ High Availability (HA) DAG Utility
This library provides an operator called `HighAvailabilityOperator`, which inherits from `PythonSensor` and runs a user-provided `python_callable`.
The return value can trigger the following actions:

| Return | Result | Current DAGrun End State |
| :----- | :----- | :----------------------- |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same DAG to run again | `pass` |
| `(Result.PASS, Action.STOP)` | Finish the DAG, until its next scheduled run | `pass` |
| `(Result.FAIL, Action.RETRIGGER)` | Retrigger the same DAG to run again | `fail` |
| `(Result.FAIL, Action.STOP)` | Finish the DAG, until its next scheduled run | `fail` |
| `(*, Action.RETRIGGER)` | Continue to run the Sensor | N/A |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| Return | Result | Current DAGrun End State |
| :----- | :----- | :----------------------- |
| `(PASS, RETRIGGER)` | Retrigger the same DAG to run again | `pass` |
| `(PASS, STOP)` | Finish the DAG, until its next scheduled run | `pass` |
| `(FAIL, RETRIGGER)` | Retrigger the same DAG to run again | `fail` |
| `(FAIL, STOP)` | Finish the DAG, until its next scheduled run | `fail` |
| `(*, RETRIGGER)` | Continue to run the Sensor | N/A |

Note: if the sensor times out, the behavior matches `(Result.PASS, Action.RETRIGGER)`.

Expand Down
17 changes: 7 additions & 10 deletions _sources/index.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,13 @@ High Availability (HA) DAG Utility
This library provides an operator called `HighAvailabilityOperator`, which inherits from `PythonSensor` and runs a user-provided `python_callable`.
The return value can trigger the following actions:

| Return | Result | Current DAGrun End State |
| :----- | :----- | :----------------------- |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same DAG to run again | `pass` |
| `(Result.PASS, Action.STOP)` | Finish the DAG, until its next scheduled run | `pass` |
| `(Result.FAIL, Action.RETRIGGER)` | Retrigger the same DAG to run again | `fail` |
| `(Result.FAIL, Action.STOP)` | Finish the DAG, until its next scheduled run | `fail` |
| `(*, Action.RETRIGGER)` | Continue to run the Sensor | N/A |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| `(Result.PASS, Action.RETRIGGER)` | Retrigger the same dag to run again | `pass` |
| Return | Result | Current DAGrun End State |
| :----- | :----- | :----------------------- |
| `(PASS, RETRIGGER)` | Retrigger the same DAG to run again | `pass` |
| `(PASS, STOP)` | Finish the DAG, until its next scheduled run | `pass` |
| `(FAIL, RETRIGGER)` | Retrigger the same DAG to run again | `fail` |
| `(FAIL, STOP)` | Finish the DAG, until its next scheduled run | `fail` |
| `(*, RETRIGGER)` | Continue to run the Sensor | N/A |

Note: if the sensor times out, the behavior matches `(Result.PASS, Action.RETRIGGER)`.

Expand Down
22 changes: 5 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,38 +274,26 @@ <h2>Overview<a class="headerlink" href="#overview" title="Link to this heading">
</tr>
</thead>
<tbody>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(PASS,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same DAG to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.STOP)</span></code></p></td>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(PASS,</span> <span class="pre">STOP)</span></code></p></td>
<td class="text-left"><p>Finish the DAG, until its next scheduled run</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.FAIL,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(FAIL,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same DAG to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">fail</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.FAIL,</span> <span class="pre">Action.STOP)</span></code></p></td>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(FAIL,</span> <span class="pre">STOP)</span></code></p></td>
<td class="text-left"><p>Finish the DAG, until its next scheduled run</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">fail</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(*,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(*,</span> <span class="pre">RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Continue to run the Sensor</p></td>
<td class="text-left"><p>N/A</p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-even"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
<tr class="row-odd"><td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">(Result.PASS,</span> <span class="pre">Action.RETRIGGER)</span></code></p></td>
<td class="text-left"><p>Retrigger the same dag to run again</p></td>
<td class="text-left"><p><code class="docutils literal notranslate"><span class="pre">pass</span></code></p></td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit e0410aa

Please sign in to comment.