File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " zoo-runner-common"
7- version = " 0.1.2 "
7+ version = " 0.1.3 "
88description = " Shared utilities for ZOO-Project CWL runners"
99readme = " README.md"
1010requires-python = " >=3.10"
Original file line number Diff line number Diff line change @@ -18,6 +18,16 @@ class ExecutionHandler(ABC):
1818 methods to provide concrete execution logic.
1919 """
2020
21+ def __init__ (self , ** kwargs ):
22+ self .__dict__ .update (kwargs )
23+ self .job_id = getattr (self , 'job_id' , None )
24+ self .outputs = getattr (self , 'outputs' , {})
25+ self .results = getattr (self , 'results' , None )
26+
27+ def set_job_id (self , job_id ):
28+ """Set the job ID for the execution."""
29+ self .job_id = job_id
30+
2131 @abstractmethod
2232 def pre_execution_hook (self ):
2333 """
You can’t perform that action at this time.
0 commit comments