This enum provides the possible origins for a work item attribute, i.e. when the attribute gets added to the work item by node or the job script. The values of this enum can be ORed together, indicating that an attribute is used or added in both the generate and cook stages.
Values ¶
pdg.attribOrigin.Undefined
The attribute has no origin or is not added to work items at all
pdg.attribOrigin.Generate
The attribute is added during work item generation
pdg.attribOrigin.Cook
The attribute is added when the work item is cooking
pdg.attribOrigin.Expected
The attribute contains data that is expected to exist when the work item finishes cooking
pdg.attribOrigin.GenerateExpected
Convenience enum value, which is the OR of the Generate
and Expected
values