execute_workflow#

pharmpy.workflows.execute_workflow(workflow, dispatcher=None, context=None, path=None, resume=False)[source]#

Execute workflow

Parameters:
  • workflow (Workflow) – Workflow to execute

  • dispatcher (ExecutionDispatcher) – Dispatcher to use

  • context (Context) – Context to use. None for the default context.

  • path (Path) – Path to use for context if applicable.

  • resume (bool) – Whether to allow resuming previous workflow execution.

Returns:

Results – Results object created by workflow