mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automation): rename schema config to params, drop dead fields
This commit is contained in:
parent
c8a89ccac8
commit
9fa35f21cf
11 changed files with 31 additions and 37 deletions
|
|
@ -1,8 +1,8 @@
|
|||
"""Pydantic schemas for the automation definition and per-type configs."""
|
||||
"""Schemas for the automation definition and per-type configs."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from .actions import AgentTaskActionConfig
|
||||
from .actions import AgentTaskActionParams
|
||||
from .definition import (
|
||||
AutomationDefinition,
|
||||
ExecutionBlock,
|
||||
|
|
@ -11,16 +11,16 @@ from .definition import (
|
|||
PlanStep,
|
||||
TriggerSpec,
|
||||
)
|
||||
from .triggers import ManualTriggerConfig, ScheduleTriggerConfig
|
||||
from .triggers import ManualTriggerParams, ScheduleTriggerParams
|
||||
|
||||
__all__ = [
|
||||
"AgentTaskActionConfig",
|
||||
"AgentTaskActionParams",
|
||||
"AutomationDefinition",
|
||||
"ExecutionBlock",
|
||||
"InputsBlock",
|
||||
"ManualTriggerConfig",
|
||||
"ManualTriggerParams",
|
||||
"MetadataBlock",
|
||||
"PlanStep",
|
||||
"ScheduleTriggerConfig",
|
||||
"ScheduleTriggerParams",
|
||||
"TriggerSpec",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue