system.kanoa.asset.getAssetModes
Description
Returns linked asset modes filtered by the given parameters (kanoaCore).Syntax
getAssetModes(paramsDict)- paramsDict (dict) - Dictionary containing filter parameters.
- 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)