Skip to content

Classes Returned by the Day Ahead Trigger API

cognite.powerops.client.shop.data_classes.dayahead_trigger.DayaheadWorkflowRun

Bases: BaseModel

Return object when triggering a DayaheadTrigger workflow via the API.

Source code in cognite/powerops/client/shop/data_classes/dayahead_trigger.py
class DayaheadWorkflowRun(BaseModel):
    """
    Return object when triggering a DayaheadTrigger workflow via the API.
    """

    model_config = ConfigDict(arbitrary_types_allowed=True)

    workflow_trigger_event: Event
    total_bid_event: Event
    partial_bid_events: list[Event]
    shop_run_events: list[Event]