system.kanoa.quality.config.deleteAttribute
Description
Deletes an attribute in KanoaQDS.Syntax
deleteAttribute(attributeId, userId)- int attributeId - ID of the attribute to be deleted.
- int userId - User ID
- bool successFlag - Boolean indicating the success of the deletion.
- str msg - Message indicating the result of the deletion.
Code Examples
# Usage example
delete_success, delete_msg = system.kanoa.quality.config.deleteAttribute(attributeId=1, userId=123)
if delete_success:
print(f"Successfully deleted attribute: {delete_msg}")
else:
print(f"Deletion failed: {delete_msg}")