Skip to main content

system.kanoa.quality.config.getDataTypes

This function requires KanoaQDS module

Description

Returns data types in KanoaQDS.

Syntax

getDataTypes(paramsDict)
  • Parameters
      dict paramsDict - Dictionary with optional parameters, e.g., {'dataTypeId': 1, 'dataTypeName': 'Special Bool', 'enabled': True}
  • Returns
      pyDataset dataTypeData - Data type data.
  • Code Examples

    # Usage example
    params_dict = {'dataTypeId': 1, 'dataTypeName': 'Special Bool', 'enabled': True}
    data_type_data = system.kanoa.quality.config.getDataTypes(paramsDict=params_dict)

    # Process the retrieved data
    for row in data_type_data:
    print(row['dataTypeId'], row['dataTypeName'], row['enabled'], row['isNumeric'], row['pickListEnabled'], row['isTriggerType'])