Skip to main content

system.kanoa.asset.getAssetGroups

This function requires KanoaCore module

Description

Returns assetGroups. Used for filtering assets and also for grouping asset states by (kanoaCore).

Syntax

getAssetGroups(paramsDict)
  • Parameters
      paramsDict (dict) - Dictionary containing filter parameters.
  • Returns
      data (pyDataSet).
  • Code Examples

    # Example Usage:
    parameters = {
    'enabled': True,
    'assetGroupId': 1,
    'assetGroupName': 'Group1'
    }
    asset_groups = system.kanoa.asset.getAssetGroups(parameters)