pjkm.core.engine.task_context¶
Shared state bag passed through all task executions.
Classes¶
Mutable state passed to each task during execution. |
Module Contents¶
- class pjkm.core.engine.task_context.TaskContext(/, **data)[source]¶
Bases:
pydantic.BaseModelMutable state passed to each task during execution.
Holds the project configuration, target directory, accumulated results, and a shared pyproject dict that tasks can read/write to before final flush.
- Parameters:
data (Any)
- platform: pjkm.core.models.platform.PlatformInfo = None[source]¶
- results: dict[str, pjkm.core.models.task.TaskResult] = None[source]¶
- property project_dir: pathlib.Path[source]¶
- Return type: