Skip to main content

system.kanoa.quality.config.getPickList

This function requires KanoaQDS module

Description

Returns pickList options in KanoaQDS.

Syntax

getPickList(paramsDict)
  • Parameters
      dict paramsDict - Dictionary with optional parameters, e.g., {'pickListId': 1, 'pickListName': 'Fraction', 'dataTypeName': 'Float', 'enabled': True}
  • Returns
      pyDataset pickListData - PickList data.
  • Code Examples

    # Usage example
    params_dict_picklist = {'pickListId': 1, 'pickListName': 'Fraction', 'dataTypeName': 'Float', 'enabled': True}
    picklist_data = system.kanoa.quality.config.getPickList(paramsDict=params_dict_picklist)

    # Process the retrieved data
    for row in picklist_data:
    print(row['pickListId'], row['pickListName'], row['dataTypeName'], row['enabled'])