system.kanoa.quality.config.getAlertGroups
Description
Returns alert groups in KanoaQDS.Syntax
getAlertGroups(paramsDict)- dict paramsDict - Dictionary, e.g., {'enabled': True, 'alertGroupId': 1, 'alertGroupName' : 'Quality'}
- pyDataset data - Dataset containing alert group information.
Code Examples
# Usage example
params_dict = {'enabled': True, 'alertGroupId': 1, 'alertGroupName': 'Quality'}
alert_groups_data = system.kanoa.quality.config.getAlertGroups(paramsDict=params_dict)
# Accessing data in the dataset
for row in alert_groups_data:
print(f"Alert Group ID: {row['alertGroupId']}, Name: {row['alertGroupName']}, Enabled: {row['enabled']}")