Skip to main content

system.kanoa.quality.config.getTriggerTypes

Requires kanoaQDS license

Description

Returns all check sheets triggers that meet the passed criteria.

Syntax

getTriggerTypes(paramsDict)

Parameters:
  • paramsDict (dict): Dictionary with optional parameters

  • Returns:
  • triggerTypesData (pyDataset): Trigger types data.
  • Dictionary

    ParameterTypeRequiredNotes
    triggerTypeIdintNoe.g. 1
    triggerTypeNamestrNoe.g. 'some trigger'
    enabledboolNoe.g. True

    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'])