system.kanoa.schedule.getAllCurrentEvents
Description
Returns scheduled events for the current day for the passed-in assetPath.Syntax
getAllCurrentEvents(assetPath='%')- assetPath (string, default='%') - Path of the asset.
- Scheduled events data (pyDataset).
Code Example
# Example Usage:
asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
current_events = system.kanoa.schedule.getAllCurrentEvents(asset_path)