Skip to main content

system.kanoa.tooling.checkCompatibility(paramsDict)

Checks whether a tool assembly fits a parent: the tool against the parent, and each tool in its pockets against its own parent. A tool with no fit rules (see getCompatibilityRules) fits anywhere.


Parameters​

paramsDict Dictionary

- toolingAssetIdIntegerRequired
- assetIdIntegeror parentToolingAssetId (Integer): The parent. One is required

Returns​

failures pyDataset: one row per link that doesn't fit (childToolingAssetId, childName, parentAssetId, parentName, message); empty when it fits


Example​

paramsDict = {'toolingAssetId': 1, 'assetId': 1}
failures = system.kanoa.tooling.checkCompatibility(paramsDict)