organize the Helper Functions

those who make the program. the helper functions. they deserve better Ahh
This commit is contained in:
lda
2026-06-02 03:17:50 +07:00 Verified
parent 1ce897cabf
commit 69de023a89
12 changed files with 308 additions and 250 deletions
+13
View File
@@ -0,0 +1,13 @@
from __future__ import annotations
from wf_artifacts import WorkflowArtifact, WorkflowCapabilityRef
def artifact_capability_id(artifact: WorkflowArtifact) -> str:
"""Return the stable workflow capability name for a saved artifact."""
return str(
WorkflowCapabilityRef(
artifact_id=artifact.id,
version=artifact.version,
)
)