Skip to main content

system.kanoa.asset.getModes

This function requires KanoaCore module

Description

Returns modes filtered by the given parameters (kanoaCore).

Syntax

getModes(paramsDict)
  • Parameters
      paramsDict (Dictionary) - 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
    }
    modes_info = system.kanoa.asset.getModes(parameters)