Skip to main content

system.kanoa.asset.getAssetModes

This function requires KanoaCore module

Description

Returns linked asset modes filtered by the given parameters (kanoaCore).

Syntax

getAssetModes(paramsDict)
  • Parameters
      paramsDict (dict) - Dictionary containing filter parameters.
  • Returns
      pyDataset.
  • Code Examples

    # Example Usage:
    parameters = {
    'enabled': True,
    'modeName': 'Production',
    'modeId': 1,
    'modeTypeId': 1,
    'modeTypeName': 'Production',
    'canSelect': True,
    'canSchedule': True,
    'autoSchedule': True
    }
    asset_modes = system.kanoa.asset.getAssetModes(parameters)