Skip to content

combine_results_rule_data

Module for CombineResultsRuleData class

!!! classes CombineResultsRuleData

CombineResultsRuleData (ICombineResultsRuleData, RuleData)

Class for storing data related to combine results rule

Source code in entities/combine_results_rule_data.py
class CombineResultsRuleData(ICombineResultsRuleData, RuleData):
    """Class for storing data related to combine results rule"""

    def __init__(self, name: str, input_variable_names: List[str],
                 operation_type: str, ignore_nan: bool = False):
        super().__init__(name)
        self._input_variable_names = input_variable_names
        self._operation_type = operation_type
        self._ignore_nan = ignore_nan

    @property
    def input_variable_names(self) -> List[str]:
        """Name of the input variable"""
        return self._input_variable_names

    @property
    def operation_type(self) -> str:
        """Name of the input variable"""
        return self._operation_type

    @property
    def ignore_nan(self) -> bool:
        """Property for the ignore_nan flag"""
        return self._ignore_nan

ignore_nan: bool property readonly

Property for the ignore_nan flag

input_variable_names: List[str] property readonly

Name of the input variable

operation_type: str property readonly

Name of the input variable