Перенес workflow

This commit is contained in:
2026-03-05 11:46:05 +03:00
parent 4a0646bb14
commit 89c0d21e88
65 changed files with 1271 additions and 1640 deletions

View File

@@ -0,0 +1,16 @@
from __future__ import annotations
from dataclasses import dataclass, field
from typing import Any
@dataclass(slots=True)
class WorkflowContext:
payload: dict[str, Any]
state: dict[str, Any] = field(default_factory=dict)
def snapshot(self) -> dict[str, Any]:
return {
"payload": dict(self.payload),
"state": dict(self.state),
}