system.kanoa.asset.getModeTypes
Description
Retrieve mode types based on specified parameters.Syntax
getModeTypes(paramsDict, enabled)- paramsDict (dictionary) - A dictionary of key/value pairs used to filter the returned dataset
- enabled (boolean) - Indicates whether the mode type is enabled or not
- pyDataset - A pyDataset containing mode types filtered by the provided parameters
Code Examples
# Example Usage:
params = {'enabled': True, 'modeTypeId': 1, 'modeTypeName': 'Production'}
enabled_mode_types = system.kanoa.asset.getModeTypes(params, True)