system.kanoa.quality.config.getCheckItemStates
Description
Returns check item states in KanoaQDS.Syntax
getCheckItemStates(paramsDict)- dict paramsDict - Dictionary with optional parameters, e.g., {'chkItemStateId': 1, 'chkItemStateName': 'Failed', 'enabled': True}
- pyDataset checkItemStateData - Check item state data.
Code Examples
# Usage example
params_dict = {'chkItemStateId': 1, 'chkItemStateName': 'Failed', 'enabled': True}
check_item_state_data = system.kanoa.quality.config.getCheckItemStates(paramsDict=params_dict)
# Process the retrieved data
for row in check_item_state_data:
print(row['chkItemStateId'], row['chkItemStateName'], row['enabled'], row['chkItemStateColor'])