workflow#

Workflow module that wraps and extends the core functionality.

Functions

camel_to_snake_case(camel_case_str)

Convert camel case input string to snake case output string.

snake_to_camel_case(snake_case_str, ...)

Populate the snake-case attribute map and return camel case of the passed attribute.

Classes

ArgumentWrapper(task, arg)

Wrapper for a single task argument.

ArgumentsWrapper(task)

Wrapper for a dictionary of task arguments.

BaseTask(command_source, task)

Base class Task representation for wrapping a Workflow TaskObject instance, adding methods to discover more about the relationships between TaskObjects.

ClassicWorkflow(workflow, command_source)

Wraps a meshing workflow object.

CommandTask(command_source, task)

Intermediate base class task representation for wrapping a Workflow TaskObject instance, adding attributes related to commanding.

CompositeTask(command_source, task)

Composite task representation for wrapping a Workflow TaskObject instance of TaskType Composite.

CompoundChild(command_source, task)

Compound Child representation for wrapping a Workflow TaskObject instance of TaskType Compound Child.

CompoundTask(command_source, task)

Compound task representation for wrapping a Workflow TaskObject instance of TaskType Compound.

ConditionalTask(command_source, task)

Conditional task representation for wrapping a Workflow TaskObject instance of TaskType Conditional.

ReadOnlyObject(cmd)

Removes set_state() to implement read-only behaviour.

SimpleTask(command_source, task)

Simple task representation for wrapping a Workflow TaskObject instance of TaskType Simple.

TaskContainer(command_source)

Wrap a workflow TaskObject container.

Workflow(workflow, command_source)

Wraps a workflow object, adding methods to discover more about the relationships between task objects.