Failure

class scml.scml2020.Failure(is_inventory, line, step, process)[source]

Bases: object

A production failure

Attributes Summary

is_inventory

True if the cause of failure was insufficient inventory.

line

The line at which the failure happened

process

The process that failed to execute

step

The step at which the failure happened

Attributes Documentation

is_inventory

True if the cause of failure was insufficient inventory. If False, the cause was insufficient funds. Note that if both conditions were true, only insufficient funds (is_inventory=False) will be reported.

line

The line at which the failure happened

process

The process that failed to execute

step

The step at which the failure happened