Repair production automation truth and schedule cleanup
This commit is contained in:
parent
8bcb416285
commit
944fd158de
19 changed files with 441 additions and 64 deletions
|
|
@ -182,6 +182,13 @@ class ActivityDefinition(BaseModel):
|
|||
instructions: list[InstructionDef] = Field(default_factory=list)
|
||||
# Legacy — ignored when rules is non-empty
|
||||
task_templates: list[TaskTemplate] = Field(default_factory=list)
|
||||
dedupe_key_strategy: Literal["skip", "catchup", "compress"] = Field(default="skip")
|
||||
dedupe_key_strategy: Literal["skip", "catchup", "compress"] = Field(
|
||||
default="skip",
|
||||
description=(
|
||||
"Legacy persistence compatibility metadata; runtime scheduling uses "
|
||||
"trigger_config.misfire_policy and this field does not deduplicate content"
|
||||
),
|
||||
deprecated=True,
|
||||
)
|
||||
version: int = Field(default=1, ge=1)
|
||||
status: str = Field(default="active")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue