Add the option to define and execute steps in a serial workflow where the code is contained in a Jupyter Notebook and that are executed by running (some) of the notebook cells.
Additional context
Some additional context is given here. The three main implementation requirements are:
Implement a sub-class of flowserv.model.workflow.step.WorkflowStep to capture all the information that is necessary to run workflow steps of the new type. Make sure to add a is_mytype_step() method to the WorkflowStep base class to be able to distinguish the different workflow step types.
Implement a sub-class of flowserv.controller.worker.base.Worker that is capable of executing steps of the new type in a given workflow context.
Modify the flowserv.controller.serial.engine.runner.exec_workflow function to account for the new step type.
Describe the solution you'd like
Add the option to define and execute steps in a serial workflow where the code is contained in a Jupyter Notebook and that are executed by running (some) of the notebook cells.
Additional context
Some additional context is given here. The three main implementation requirements are:
flowserv.model.workflow.step.WorkflowStep
to capture all the information that is necessary to run workflow steps of the new type. Make sure to add ais_mytype_step()
method to theWorkflowStep
base class to be able to distinguish the different workflow step types.flowserv.controller.worker.base.Worker
that is capable of executing steps of the new type in a given workflow context.flowserv.controller.serial.engine.runner.exec_workflow
function to account for the new step type.