Skip to main content

system.kanoa.quality.config.getCheckItemStates

This function requires KanoaQDS module

Description

Returns check item states in KanoaQDS.

Syntax

getCheckItemStates(paramsDict)
  • Parameters
      dict paramsDict - Dictionary with optional parameters, e.g., {'chkItemStateId': 1, 'chkItemStateName': 'Failed', 'enabled': True}
  • Returns
      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'])