Skip to main content

system.kanoa.quality.config.getTriggerTypes

This function requires KanoaQDS module

Description

Returns all check sheets triggers that meet the passed criteria in KanoaQDS.

Syntax

getTriggerTypes(paramsDict)
  • Parameters
      dict paramsDict - Dictionary with optional parameters, e.g., {'triggerTypeId': 1, 'triggerTypeName': 'some trigger', 'enabled': True}
  • Returns
      pyDataset triggerTypesData - Trigger types data.
  • Code Examples

    # Usage example
    params_dict_trigger_types = {'triggerTypeId': 1, 'triggerTypeName': 'some trigger', 'enabled': True}
    trigger_types_data = system.kanoa.quality.config.getTriggerTypes(paramsDict=params_dict_trigger_types)

    # Process the retrieved data
    for row in trigger_types_data:
    print(row['triggerTypeId'], row['triggerTypeName'], row['enabled'])