Add distributed workload protocol
python / test (push) Canceled after 0s

This commit is contained in:
Emil
2026-07-24 14:25:38 +03:00
parent f953112cfd
commit 6ef92908a1
7 changed files with 625 additions and 9 deletions
+28
View File
@@ -0,0 +1,28 @@
"""Coordinator-independent contracts for distributed SciMesh workloads.
This package defines the typed plan and reduction boundary shared by future
planners, worker adapters, and coordinator bridges. It intentionally has no
network, database, or coordinator imports.
"""
from .models import (
ArtifactReference,
CompletedPartial,
DistributedPlan,
FinalResult,
PlannedTask,
)
from .registry import DistributedWorkloadRegistry, PlanningService, WorkloadDescription
from .workload import DistributedWorkload
__all__ = [
"ArtifactReference",
"CompletedPartial",
"DistributedPlan",
"DistributedWorkload",
"DistributedWorkloadRegistry",
"FinalResult",
"PlannedTask",
"PlanningService",
"WorkloadDescription",
]