schema.processors.model_processor.DatedSpec

A spec with a [start_date, end_date) closed-open date range semantic.

start_date The start date of the analysis/optimization. If left as None, then this will eventually resolve to a model's first time coordinate.
end_date The end date of the analysis/optimization. If left as None, then this will eventually resolve to a model's last time coordinate. When specified, this end date is exclusive.
date_interval_tag An optional tag that identifies the date interval.

Methods

resolver

View source

Returns a date resolver for this spec, with the given Meridian model.

validate

View source

Overrides the Spec.validate() method to check that dates are valid.

__eq__

Return self==value.

date_interval_tag ''
end_date None
start_date None