Skip to content

i_time_aggregation_rule_data

Module for ITimeAggregationRuleData interface

!!! interfaces ITimeAggregationRuleData

ITimeAggregationRuleData (IRuleData, ABC)

Data for a TimeAggregationRule

Source code in api/i_time_aggregation_rule_data.py
class ITimeAggregationRuleData(IRuleData, ABC):
    """Data for a TimeAggregationRule"""

    @property
    @abstractmethod
    def input_variable(self) -> str:
        """Name of the input variable"""

    @property
    @abstractmethod
    def operation(self) -> TimeOperationType:
        """Operation type"""

    @property
    @abstractmethod
    def percentile_value(self) -> float:
        """Operation parameter"""

    @property
    @abstractmethod
    def time_scale(self) -> str:
        """Time scale"""

input_variable: str property readonly

Name of the input variable

operation: TimeOperationType property readonly

Operation type

percentile_value: float property readonly

Operation parameter

time_scale: str property readonly

Time scale