ramp_database.model.WorkflowElement

class ramp_database.model.WorkflowElement(workflow, workflow_element_type, name_in_workflow=None)

WorkflowElement table.

Parameters
workflowramp_database.model.Workflow

A workflow instance.

workflow_element_typeramp_database.model.WorkflowElementType

A workflow element type instance.

name_in_workflowNone or str, default is None
Attributes
idint

The ID of the table row.

namestr

The name of the workflow element.

workflow_idint

The ID of the associated workflow.

workflowramp_database.model.Workflow

The workflow instance.

workflow_element_type_idint

The ID of the associated workflow element type.

workflow_element_typeramp_database.model.WorkflowElementType

The workflow element type instance.

submission_fileslist of ramp_database.model.SubmissionFile

A back-reference to the submission file associated with the workflow element.

__init__(workflow, workflow_element_type, name_in_workflow=None)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.