validate_time_frame

adrio.adrio.validate_time_frame(adrio, context, time_range)

Validates that the context time frame is within the specified DateRange.

Parameters

adrio: ADRIO

The ADRIO instance doing the validation.

context: Context

The evaluation context.

time_range: DateRange

The valid range of dates.

Raises

Name Type Description
ADRIOContextError If the context time frame is not valid.