mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automation): drop Block suffix from definition components
This commit is contained in:
parent
7f4c1c25ab
commit
56b3e1bfc4
6 changed files with 25 additions and 25 deletions
|
|
@ -1,4 +1,4 @@
|
|||
"""``ExecutionBlock`` — automation-wide execution defaults (overridable per step)."""
|
||||
"""``Execution`` — automation-wide execution defaults (overridable per step)."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ from pydantic import BaseModel, ConfigDict, Field
|
|||
from .plan_step import PlanStep
|
||||
|
||||
|
||||
class ExecutionBlock(BaseModel):
|
||||
class Execution(BaseModel):
|
||||
model_config = ConfigDict(extra="forbid")
|
||||
|
||||
timeout_seconds: int = Field(default=600, gt=0, description="Wall-clock cap for the run.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue