system.kanoa.quality.config.getUnits
Description
Returns engineering units that meet the passed criteria in KanoaQDS.Syntax
getUnits(paramsDict)- dict paramsDict - Dictionary with optional parameters, e.g., {'engUnitId': 1, 'engUnitName': 'some unit', 'enabled': True}
- pyDataset unitsData - Units data.
Code Examples
# Usage example
params_dict_units = {'engUnitId': 1, 'engUnitName': 'some unit', 'enabled': True}
units_data = system.kanoa.quality.config.getUnits(paramsDict=params_dict_units)
# Process the retrieved data
for row in units_data:
print(row['engUnitId'], row['engUnitName'], row['enabled'])