generated from coulomb/repo-seed
Implemented durable workflow/job foundation
This commit is contained in:
@@ -25,6 +25,9 @@ from kontextual_engine.core import (
|
||||
Sensitivity,
|
||||
TransformationRun,
|
||||
TransformationRunStatus,
|
||||
WorkflowRun,
|
||||
WorkflowRunStatus,
|
||||
WorkflowTemplate,
|
||||
)
|
||||
|
||||
|
||||
@@ -131,3 +134,25 @@ class AssetRegistryRepository(Protocol):
|
||||
source_asset_id: str | None = None,
|
||||
transformation_run_id: str | None = None,
|
||||
) -> list[DerivedArtifactLineage]: ...
|
||||
|
||||
def save_workflow_template(self, template: WorkflowTemplate) -> WorkflowTemplate: ...
|
||||
def get_workflow_template(
|
||||
self,
|
||||
template_id: str,
|
||||
*,
|
||||
version: str | None = None,
|
||||
) -> WorkflowTemplate: ...
|
||||
def list_workflow_templates(
|
||||
self,
|
||||
*,
|
||||
template_id: str | None = None,
|
||||
) -> list[WorkflowTemplate]: ...
|
||||
|
||||
def save_workflow_run(self, run: WorkflowRun) -> WorkflowRun: ...
|
||||
def get_workflow_run(self, run_id: str) -> WorkflowRun: ...
|
||||
def list_workflow_runs(
|
||||
self,
|
||||
*,
|
||||
status: WorkflowRunStatus | None = None,
|
||||
template_id: str | None = None,
|
||||
) -> list[WorkflowRun]: ...
|
||||
|
||||
Reference in New Issue
Block a user