system.kanoa.quality.config.updateAttribute
Description
Updates an attribute in KanoaQDS.Syntax
updateAttribute(attrInfo, userId)- dict attrInfo - Dictionary, e.g., {'attributeId': 1, 'attributeName': 'some attribute name', 'attributeDescription': 'some description', 'parentId': 6, 'enabled': True}
- int userId - User ID
- int modifiedRecords - Number of records modified during the update.
Code Examples
# Usage example
attribute_info = {'attributeId': 1, 'attributeName': 'some attribute name', 'attributeDescription': 'some description', 'parentId': 6, 'enabled': True}
modified_records = system.kanoa.quality.config.updateAttribute(attrInfo=attribute_info, userId=123)
if modified_records is not None:
print(f"Successfully updated {modified_records} records")