ddeutil-workflow 0.0.37__py3-none-any.whl → 0.0.38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ddeutil/workflow/__about__.py +1 -1
- ddeutil/workflow/__init__.py +4 -1
- ddeutil/workflow/api/routes/job.py +3 -1
- ddeutil/workflow/api/routes/logs.py +12 -4
- ddeutil/workflow/caller.py +6 -2
- ddeutil/workflow/context.py +59 -0
- ddeutil/workflow/exceptions.py +14 -1
- ddeutil/workflow/job.py +100 -121
- ddeutil/workflow/logs.py +6 -1
- ddeutil/workflow/result.py +1 -1
- ddeutil/workflow/stages.py +364 -111
- ddeutil/workflow/utils.py +1 -44
- ddeutil/workflow/workflow.py +137 -72
- {ddeutil_workflow-0.0.37.dist-info → ddeutil_workflow-0.0.38.dist-info}/METADATA +8 -2
- ddeutil_workflow-0.0.38.dist-info/RECORD +33 -0
- {ddeutil_workflow-0.0.37.dist-info → ddeutil_workflow-0.0.38.dist-info}/WHEEL +1 -1
- ddeutil_workflow-0.0.37.dist-info/RECORD +0 -32
- {ddeutil_workflow-0.0.37.dist-info → ddeutil_workflow-0.0.38.dist-info/licenses}/LICENSE +0 -0
- {ddeutil_workflow-0.0.37.dist-info → ddeutil_workflow-0.0.38.dist-info}/top_level.txt +0 -0
ddeutil/workflow/result.py
CHANGED
@@ -91,7 +91,7 @@ class Result:
|
|
91
91
|
@model_validator(mode="after")
|
92
92
|
def __prepare_trace(self) -> Self:
|
93
93
|
"""Prepare trace field that want to pass after its initialize step."""
|
94
|
-
if self.trace is None: # pragma: no
|
94
|
+
if self.trace is None: # pragma: no cov
|
95
95
|
self.trace: TraceLog = get_trace(self.run_id, self.parent_run_id)
|
96
96
|
|
97
97
|
return self
|