docs: cache_ttl has no effect on a taskFlow target

This commit is contained in:
Ruben Fiszel
2026-09-16 00:18:24 +02:00
parent 4585410254
commit ae496dd3bd
10 changed files with 40 additions and 25 deletions
+8 -5
View File
@@ -4612,8 +4612,9 @@ def parse_sql_client_name(name: str) -> tuple[str, Optional[str]]
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A \`\`task_script\`\` or \`\`task_flow\`\` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A \`\`task_script\`\` target is keyed on the
# arguments it is called with. It has no effect on a \`\`task_flow\`\` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
@@ -6753,7 +6754,8 @@ export interface TaskOptions {
* step key (its name and call order) and the workflow's input, not on the
* arguments it is called with, so cache one only when whether it runs, and
* what it receives, follow from the workflow's input alone. A \`taskScript\`
* or \`taskFlow\` target is keyed on the arguments it is called with. */
* target is keyed on the arguments it is called with. It has no effect on a
* \`taskFlow\` target, which keeps its flow's own cache policy. */
cache_ttl?: number;
priority?: number;
concurrency_limit?: number;
@@ -6949,8 +6951,9 @@ def get_resume_urls(approver: str = None, flow_level: bool = None) -> dict
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A \`\`task_script\`\` or \`\`task_flow\`\` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A \`\`task_script\`\` target is keyed on the
# arguments it is called with. It has no effect on a \`\`task_flow\`\` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
+3 -2
View File
@@ -3331,8 +3331,9 @@ def task(
instead of running it again. A task is keyed on its step key (its name and
call order) and the workflow's input, not on the arguments it is called
with, so cache one only when whether it runs, and what it receives, follow
from the workflow's input alone. A ``task_script`` or ``task_flow`` target
is keyed on the arguments it is called with.
from the workflow's input alone. A ``task_script`` target is keyed on the
arguments it is called with. It has no effect on a ``task_flow`` target,
which keeps its flow's own cache policy.
Usage::
+8 -5
View File
@@ -2591,8 +2591,9 @@ def parse_sql_client_name(name: str) -> tuple[str, Optional[str]]
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A \`\`task_script\`\` or \`\`task_flow\`\` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A \`\`task_script\`\` target is keyed on the
# arguments it is called with. It has no effect on a \`\`task_flow\`\` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
@@ -2749,7 +2750,8 @@ export interface TaskOptions {
* step key (its name and call order) and the workflow's input, not on the
* arguments it is called with, so cache one only when whether it runs, and
* what it receives, follow from the workflow's input alone. A \`taskScript\`
* or \`taskFlow\` target is keyed on the arguments it is called with. */
* target is keyed on the arguments it is called with. It has no effect on a
* \`taskFlow\` target, which keeps its flow's own cache policy. */
cache_ttl?: number;
priority?: number;
concurrency_limit?: number;
@@ -2945,8 +2947,9 @@ def get_resume_urls(approver: str = None, flow_level: bool = None) -> dict
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A \`\`task_script\`\` or \`\`task_flow\`\` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A \`\`task_script\`\` target is keyed on the
# arguments it is called with. It has no effect on a \`\`task_flow\`\` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
+3 -2
View File
@@ -2732,8 +2732,9 @@ def parse_sql_client_name(name: str) -> tuple[str, Optional[str]]
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A ``task_script`` or ``task_flow`` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A ``task_script`` target is keyed on the
# arguments it is called with. It has no effect on a ``task_flow`` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
+3 -2
View File
@@ -676,8 +676,9 @@ def parse_sql_client_name(name: str) -> tuple[str, Optional[str]]
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A ``task_script`` or ``task_flow`` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A ``task_script`` target is keyed on the
# arguments it is called with. It has no effect on a ``task_flow`` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
@@ -62,8 +62,9 @@ def get_resume_urls(approver: str = None, flow_level: bool = None) -> dict
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A ``task_script`` or ``task_flow`` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A ``task_script`` target is keyed on the
# arguments it is called with. It has no effect on a ``task_flow`` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
@@ -39,7 +39,8 @@ export interface TaskOptions {
* step key (its name and call order) and the workflow's input, not on the
* arguments it is called with, so cache one only when whether it runs, and
* what it receives, follow from the workflow's input alone. A `taskScript`
* or `taskFlow` target is keyed on the arguments it is called with. */
* target is keyed on the arguments it is called with. It has no effect on a
* `taskFlow` target, which keeps its flow's own cache policy. */
cache_ttl?: number;
priority?: number;
concurrency_limit?: number;
@@ -861,8 +861,9 @@ def parse_sql_client_name(name: str) -> tuple[str, Optional[str]]
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A ``task_script`` or ``task_flow`` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A ``task_script`` target is keyed on the
# arguments it is called with. It has no effect on a ``task_flow`` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
@@ -282,7 +282,8 @@ export interface TaskOptions {
* step key (its name and call order) and the workflow's input, not on the
* arguments it is called with, so cache one only when whether it runs, and
* what it receives, follow from the workflow's input alone. A `taskScript`
* or `taskFlow` target is keyed on the arguments it is called with. */
* target is keyed on the arguments it is called with. It has no effect on a
* `taskFlow` target, which keeps its flow's own cache policy. */
cache_ttl?: number;
priority?: number;
concurrency_limit?: number;
@@ -478,8 +479,9 @@ def get_resume_urls(approver: str = None, flow_level: bool = None) -> dict
# instead of running it again. A task is keyed on its step key (its name and
# call order) and the workflow's input, not on the arguments it is called
# with, so cache one only when whether it runs, and what it receives, follow
# from the workflow's input alone. A ``task_script`` or ``task_flow`` target
# is keyed on the arguments it is called with.
# from the workflow's input alone. A ``task_script`` target is keyed on the
# arguments it is called with. It has no effect on a ``task_flow`` target,
# which keeps its flow's own cache policy.
#
# Usage::
#
+2 -1
View File
@@ -1717,7 +1717,8 @@ export interface TaskOptions {
* step key (its name and call order) and the workflow's input, not on the
* arguments it is called with, so cache one only when whether it runs, and
* what it receives, follow from the workflow's input alone. A `taskScript`
* or `taskFlow` target is keyed on the arguments it is called with. */
* target is keyed on the arguments it is called with. It has no effect on a
* `taskFlow` target, which keeps its flow's own cache policy. */
cache_ttl?: number;
priority?: number;
concurrency_limit?: number;