Skip to main content

system.kanoa.quality.config.getItems

This function requires KanoaQDS module

Description

Returns items with linked itemSets in KanoaQDS.

Syntax

getItems(paramsDict)
  • Parameters
      dict paramsDict - Dictionary with optional parameters, e.g., {'enabled': True, 'itemName': 'Item 1', 'itemId': 2, 'itemSetIds': [1, 2], 'itemClassPaths': ['/path1', '/path2']}
  • Returns
      pyDataset itemsData - Items data with linked itemSets.
  • Code Examples

    # Usage example
    params_dict_items = {'enabled': True, 'itemName': 'Item 1', 'itemId': 2, 'itemSetIds': [1, 2], 'itemClassPaths': ['/path1', '/path2']}
    items_data = system.kanoa.quality.config.getItems(paramsDict=params_dict_items)

    # Process the retrieved data
    for row in items_data:
    print(row['itemId'], row['itemName'], row['itemSetId'], row['itemSetName'])