system.kanoa.quality.config.getAttributes
Description
Returns attributes based on the passed parameters in KanoaQDS.Syntax
getAttributes(paramsDict)- dict paramsDict - Dictionary, e.g., {'path': 'somePath', 'enabled': True, 'attributeName': 'some attribute name', {'attributeId': 1, 'parentId': 6}
- pyDataset data - Dataset containing attribute information.
Code Examples
# Usage example
attributes_params = {'path': 'somePath', 'enabled': True, 'attributeName': 'some attribute name', 'attributeId': 1, 'parentId': 6}
attributes_data = system.kanoa.quality.config.getAttributes(paramsDict=attributes_params)
# Accessing data in the dataset
for row in attributes_data:
print(f"Attribute ID: {row['attributeId']}, Name: {row['attributeName']}, Enabled: {row['enabled']}")