Skip to main content

system.kanoa.schedule.getAllCurrentEvents

This function requires KanoaOPS module

Description

Returns scheduled events for the current day for the passed-in assetPath.

Syntax

getAllCurrentEvents(assetPath='%')
  • Parameters
      assetPath (string, default='%') - Path of the asset.
  • Returns
      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)