Skip to main content

system.kanoa.attribute.getAttributes

This function is part of the kanoaOPS module

Description

Returns attribute based on the passed parameters.

Syntax

getAttributes(paramsDict)
  • Parameters
      dictionary paramsDict - {'path': 'somePath', 'enabled': True, 'attributeName': 'some attribute name', 'attributeId': 1, 'parentId': 6}
  • Returns
      pyDataset data - Dataset containing attributes
  • 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