Skip to main content

system.kanoa.quality.config.sheets.getSheetsByAsset

This function requires KanoaQDS module

Description

Returns all unique check sheets linked to assets based on the provided criteria.

Syntax

getSheetsByAsset(paramsDict)
  • Parameters
      paramsDict - Dictionary containing optional parameters:
      - 'enabled': True to filter by enabled check sheets (bool).
      - 'chkShtTypeId': ID of the check sheet type (int).
      - 'assetPath': Path of the asset (string).
      - 'assetPathList': List of Asset Paths.
  • Returns
      data - PyDataset containing unique check sheet information.
  • Code Example

    # Usage example
    params_dict = {'enabled': True, 'chkShtStateId': 1, 'chkShtStateName': 'Approved', 'assetPathList': ['ABC Box Co', 'Glue Factory']}
    sheets_data = system.kanoa.quality.config.sheets.getSheetsByAsset(paramsDict=params_dict)

    print(sheets_data)