Skip to content

Commit 61a6de5

Browse files
authored
Remove duplicate descriptions in API docs for triggers (PrefectHQ#4959)
* Remove duplicate descriptions in API docs for triggers * Remove always_run in outline
1 parent 68086f3 commit 61a6de5

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

docs/api/0.12.6/triggers.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ flow.run()
5454
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5555
| <div class='method-sig' id='prefect-triggers-manual-only'><p class="prefect-class">prefect.triggers.manual_only</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L90">[source]</a></span></div>
5656
<p class="methods">This task will never run automatically, because this trigger will always place the task in a Paused state. The only exception is if the "resume" keyword is found in the Prefect context, which happens automatically when a task starts in a Resume state.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
57-
| <div class='method-sig' id='prefect-triggers-all-finished'><p class="prefect-class">prefect.triggers.all_finished</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L75">[source]</a></span></div>
58-
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5957
| <div class='method-sig' id='prefect-triggers-all-successful'><p class="prefect-class">prefect.triggers.all_successful</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L106">[source]</a></span></div>
6058
<p class="methods">Runs if all upstream tasks were successful. Note that `SKIPPED` tasks are considered successes and `TRIGGER_FAILED` tasks are considered failures.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
6159
| <div class='method-sig' id='prefect-triggers-all-failed'><p class="prefect-class">prefect.triggers.all_failed</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L122">[source]</a></span></div>

docs/api/0.13.19/triggers.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ flow.run()
5454
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5555
| <div class='method-sig' id='prefect-triggers-manual-only'><p class="prefect-class">prefect.triggers.manual_only</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L90">[source]</a></span></div>
5656
<p class="methods">This task will never run automatically, because this trigger will always place the task in a Paused state. The only exception is if the "resume" keyword is found in the Prefect context, which happens automatically when a task starts in a Resume state.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
57-
| <div class='method-sig' id='prefect-triggers-all-finished'><p class="prefect-class">prefect.triggers.all_finished</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L75">[source]</a></span></div>
58-
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5957
| <div class='method-sig' id='prefect-triggers-all-successful'><p class="prefect-class">prefect.triggers.all_successful</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L106">[source]</a></span></div>
6058
<p class="methods">Runs if all upstream tasks were successful. Note that `SKIPPED` tasks are considered successes and `TRIGGER_FAILED` tasks are considered failures.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
6159
| <div class='method-sig' id='prefect-triggers-all-failed'><p class="prefect-class">prefect.triggers.all_failed</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L122">[source]</a></span></div>

docs/api/0.14.22/triggers.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ flow.run()
5454
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5555
| <div class='method-sig' id='prefect-triggers-manual-only'><p class="prefect-class">prefect.triggers.manual_only</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L90">[source]</a></span></div>
5656
<p class="methods">This task will never run automatically, because this trigger will always place the task in a Paused state. The only exception is if the "resume" keyword is found in the Prefect context, which happens automatically when a task starts in a Resume state.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
57-
| <div class='method-sig' id='prefect-triggers-all-finished'><p class="prefect-class">prefect.triggers.all_finished</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L75">[source]</a></span></div>
58-
<p class="methods">This task will run no matter what the upstream states are, as long as they are finished.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
5957
| <div class='method-sig' id='prefect-triggers-all-successful'><p class="prefect-class">prefect.triggers.all_successful</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L106">[source]</a></span></div>
6058
<p class="methods">Runs if all upstream tasks were successful. Note that `SKIPPED` tasks are considered successes and `TRIGGER_FAILED` tasks are considered failures.<br><br>**Args**: <ul class="args"><li class="args">`upstream_states (dict[Edge, State])`: the set of all upstream states</li></ul></p>|
6159
| <div class='method-sig' id='prefect-triggers-all-failed'><p class="prefect-class">prefect.triggers.all_failed</p>(upstream_states)<span class="source"><a href="https://github.com/PrefectHQ/prefect/blob/master/src/prefect/triggers.py#L122">[source]</a></span></div>

docs/outline.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module = "prefect.triggers"
88
functions = [
99
"all_finished",
1010
"manual_only",
11-
"always_run",
1211
"all_successful",
1312
"all_failed",
1413
"any_successful",

0 commit comments

Comments
 (0)