Skip to content

TimePeriod

Source code in docs_src/capo_compute_optimizer_automation/types/time_period.py
class TimePeriod(TypedDict, closed=True):
    start_time_inclusive: NotRequired["datetime.datetime"]
    """<p>The start time of the period, inclusive. Events at or after this time are included.</p>"""
    end_time_exclusive: NotRequired["datetime.datetime"]
    """<p>The end time of the period, exclusive. Events before this time are included.</p>"""

end_time_exclusive instance-attribute

end_time_exclusive: NotRequired[datetime]

The end time of the period, exclusive. Events before this time are included.

start_time_inclusive instance-attribute

start_time_inclusive: NotRequired[datetime]

The start time of the period, inclusive. Events at or after this time are included.