autowisp.database.data_model.step_dependencies module

Class Inheritance Diagram

Inheritance diagram of Boolean, Column, DataModelBase, ForeignKey, Index, Integer, StepDependencies

Define class to specify dependencies between steps.

class autowisp.database.data_model.step_dependencies.StepDependencies(**kwargs)[source]

Bases: DataModelBase

Inheritance diagram of autowisp.database.data_model.step_dependencies.StepDependencies

The table describing the prerequisites for a step to run

__str__()[source]

Describe the dependency.

allow_pending

If True and blocked_image_type and blocking_image_type are the same the blocked step can proceed for any images for which the blocking step is complete. Otherwise the presence of any images of the blocking type for which the blocking step is not complete prevents the blocked step from proceeding for the blocked image type.

blocked_image_type_id

The image type for which this prerequisite applies.

blocked_imtype
blocked_step
blocked_step_id

The step for which this prerequisite applies.

blocking_image_type_id

The image type for which the prerequisite step must be completed.

blocking_imtype
blocking_step
blocking_step_id

The step which must be completed before the blocked step can begin.

id

A unique identifier for each row.

timestamp

When record was last changed