system.kanoa.sheet.getSheetsByAsset(paramsDict)
Returns all check sheets linked to assets that meet the passed criteria. This function only returns unique records for a check sheet.
Parameters
paramsDict Dictionary
| - assetPath | String | |
| - assetPathList | List | |
| - chkShtStateId | Integer | |
| - chkShtStateName | String | |
| - chkShtTypeId | Integer | |
| - chkShtVersionStateId | Integer | |
| - chkShtVersionStateName | String | |
| - enabled | Boolean | |
| - includeNullAssets | Boolean | |
| - masterOnly | Boolean | |
| - path | String |
Returns
data pyDataset
Example
paramsDict = {'enabled': True, 'assetPathList': ['ABC Box Co', 'Glue Factory']}
chkShtData = system.kanoa.quality.sheet.getSheetsByAsset(paramsDict)