Skip to main content

system.kanoa.attribute.getAttributes

Description

Returns attribute based on the passed parameters.

Syntax

getAttributes(paramsDict)

Parameters:
  • paramsDict (dict)

  • Returns:
  • data (pyDataset): Dataset containing attributes
  • Dictionary

    ParameterTypeRequiredNotes
    pathstringe.g. 'somePath'
    enabledboole.g. True
    attributeNamestringe.g. 'some attribute name'
    attributeIdinte.g. 1
    parentIdinte.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