Skip to content

i_cell_based_rule

Module for ICellBasedRule interface

!!! interfaces ICellBasedRule

ICellBasedRule (IRule, ABC)

Rule applied to every cell

Source code in rules/i_cell_based_rule.py
class ICellBasedRule(IRule, ABC):
    """Rule applied to every cell"""

    @abstractmethod
    def execute(self, value: float, logger: ILogger) -> float:
        """Executes the rule based on the provided value"""

execute(self, value, logger)

Executes the rule based on the provided value

Source code in rules/i_cell_based_rule.py
@abstractmethod
def execute(self, value: float, logger: ILogger) -> float:
    """Executes the rule based on the provided value"""