Skip to content

i_multiply_rule_data

Module for IMultiplyRuleData interface

!!! interfaces IMultiplyRuleData

IMultiplyRuleData (IRuleData, ABC)

Data for a multiply rule

Source code in api/i_multiply_rule_data.py
class IMultiplyRuleData(IRuleData, ABC):
    """Data for a multiply rule"""

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

    @property
    @abstractmethod
    def multipliers(self) -> List[List[float]]:
        """Name of the input variable"""

    @property
    @abstractmethod
    def date_range(self) -> Optional[List[List[str]]]:
        """Array with date ranges"""

date_range: Optional[List[List[str]]] property readonly

Array with date ranges

input_variable: str property readonly

Name of the input variable

multipliers: List[List[float]] property readonly

Name of the input variable