Skip to content

SchemaAttribute

Source code in docs_src/capo_forecast/types/schema_attribute.py
class SchemaAttribute(TypedDict, closed=True):
    attribute_name: NotRequired["capo_forecast.types.name.Name"]
    """<p>The name of the dataset field.</p>"""
    attribute_type: NotRequired["capo_forecast.types.attribute_type.AttributeType"]
    """<p>The data type of the field.</p> <p>For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).</p>"""

attribute_name instance-attribute

attribute_name: NotRequired[Name]

The name of the dataset field.

attribute_type instance-attribute

attribute_type: NotRequired[AttributeType]

The data type of the field.

For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).