Bases: PrefectBaseSettings
Settings for controlling flow behavior
Source code in src/prefect/settings/models/flows.py
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 | class FlowsSettings(PrefectBaseSettings):
"""
Settings for controlling flow behavior
"""
model_config = _build_settings_config(("flows",))
default_retries: int = Field(
default=0,
ge=0,
description="This value sets the default number of retries for all flows.",
validation_alias=AliasChoices(
AliasPath("default_retries"),
"prefect_flows_default_retries",
"prefect_flow_default_retries",
),
)
default_retry_delay_seconds: Union[int, float, list[float]] = Field(
default=0,
description="This value sets the default retry delay seconds for all flows.",
validation_alias=AliasChoices(
AliasPath("default_retry_delay_seconds"),
"prefect_flows_default_retry_delay_seconds",
"prefect_flow_default_retry_delay_seconds",
),
)
|