Skip to main content

system.kanoa.lot.getLotAttributes

Description

Returns lot attributes filtered by the given parameters

Syntax

getLotAttributes(paramsDict)
  • Parameters
      paramsDict (dict)
      - lotId (int)
      - lotName (string)
      - lotAttributeName (string)
      - lotAttributeValue (string)
  • Returns
      pyDataset
  • Code Examples

    paramsDict = {
    'lotId': 241,
    }

    data = system.kanoa.lot.getLotAttributes(paramsDict)
    info = system.kanoa.utilities.convertDatasetRowToJSON(data, 0)
    for k,v in info.items():
    print '%s: %s'%(k,v)
    >>>
    createdByUser: jason
    lotId: 241
    lotAttributeValue: testValue
    lotName: AAA
    changedDate: None
    createdDate: Tue May 27 17:13:28 UTC 2025
    createdBy: 5
    lotAttributeId: 1
    changedBy: None
    changedByUser: None
    lotAttributeName: testWeight
    >>>