system.kanoa.quality.config.deleteAttributeWithHistory
Description
Deletes an attribute that has history by removing any event data associated with this attribute in KanoaQDS.Syntax
deleteAttributeWithHistory(attributeId, userId)- int attributeId - ID of the attribute to be deleted.
- int userId - User ID
- int modifiedRecords - Number of records modified during the deletion.
Code Examples
# Usage example
modified_records = system.kanoa.quality.config.deleteAttributeWithHistory(attributeId=1, userId=123)
if modified_records is not None:
print(f"Successfully deleted {modified_records} records")