Task#

class pharmpy.workflows.Task(name, function, *task_input)[source]#

Bases: Generic[T], Immutable

One task in a workflow

Parameters:
  • name (str) – Name of task

  • function (func) – Task function

  • task_input (any) – Input arguments to func

Attributes Summary

function

Task function

name

Task name

task_input

Tuple of static input to function

Methods Summary

create(name, function, *task_input)

replace(**kwargs)

Attributes Documentation

function#

Task function

name#

Task name

task_input#

Tuple of static input to function

Methods Documentation

classmethod create(name, function, *task_input)[source]#
replace(**kwargs)[source]#