system.kanoa.quality.config.getChecks
Description
Returns the check items for the given parameters.Syntax
getChecks(paramsDict)Parameters:
Returns:
Dictionary
| Parameter | Type | Required | Notes | 
|---|---|---|---|
| chkShtId | int | No | |
| chkItemId | int | No | |
| chkItemName | string | No | |
| chkItemTypeId | int | No | |
| chkItemTypeName | string | No | |
| chkName | string | No | |
| chkItemGroupId | int | No | |
| chkItemGroupName | string | No | |
| dataTypeId | int | No | |
| dataTypeName | string | No | |
| isNumeric | bool | No | |
| enabled | bool | No | |
| dynamic | bool | No | If true, this check item will only be taken if a specification is found for it | 
| persistence | bool | No | Determines if the last value taken for this check item carries over to the next check | 
Code Examples
# Usage example
>paramsDict = {'chkShtId': 1, 'chkItemId': 6, 'chkItemTypeName': 'Calculator', 'chkName': 'check 1', 'groupId': 4, 'dataTypeName': 'float', 'isNumeric': True, 'enabled': True, 'dynamic': True}
>checkData = system.kanoa.quality.config.getChecks(paramsDict)
>for row in checkData:
    print("Check Item ID: {row['chkItemId']}, Check Name: {row['chkItemName']}, Group ID: {row['chkItemGroupId']}")