Skip to main content

system.kanoa.lot.getLotAttributes(paramsDict)

Returns lot attributes filtered by the given parameters


Parameters

paramsDict Dictionary

- lotAttributeIdInteger
- lotAttributeNameString
- lotAttributeValueString
- lotIdInteger
- lotIdListList of Integers
- lotNameString

Returns

lotAttributeData pyDataset


Example

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
>>>