Skip to content
Snippets Groups Projects
Commit 8fef6a7a authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fixing interface

parent 2eb364bf
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ class WorkflowService(WorkflowServiceIF):
# self.channel = workflow_events.listen(self.on_workflow_event)
self.info = info
def execute(self, request:WorkflowRequest, files: List[Path]):
def execute(self, request: WorkflowRequest, files: List[Path]):
"""
Execute a workflow per the supplied parameters.
"""
......
......@@ -41,12 +41,11 @@ class WorkflowServiceIF(ABC):
Executes workflows; should be a freestanding service.
"""
@abstractmethod
def execute(self, workflow_name: str, argument: Dict, files: List[Path]):
def execute(self, request: WorkflowRequestIF, files: List[Path]):
"""
Execute this workflow against these files.
:param workflow_name: name of the workflow to run
:param argument: extra argument (a JSON object)
:param request:
:param files: some extra files the workflow should consider
:return: a stream of events from this workflow
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment