system.kanoa.attribute.getAttributes
Description
Returns attribute based on the passed parameters.Syntax
getAttributes(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
path | string | e.g. 'somePath' | |
enabled | bool | e.g. True | |
attributeName | string | e.g. 'some attribute name' | |
attributeId | int | e.g. 1 | |
parentId | int | e.g. 6 |
Code Examples
# Example usage
paramsDict = {
'path': 'somePath',
'enabled': True,
'attributeName': 'some attribute name',
'attributeId': 1,
'parentId': 6
}
result = system.kanoa.attribute.getAttributes(paramsDict)
print(result) # Print the dataset containing attributes