You can use this class to query cook time stats for a pdg.WorkItem, using one of the enum entries in the pdg.workItemStatType enumeration. The stats are cleared each time the work item is cooked.
Methods ¶
stat(type:
pdg.workItemStatType) ->
float`
Returns the stored value for the specified stat type. If the work item doesn’t perform any work during the cook stage, such as an item in an Attribute Create node, all of the stat values will be set 0.
serviceClient
: str
Property
The name of the service client used to cook the work item, if any