sassoftware / python-sasctl

Abstract method does not raise NotImplementedError PTC-W0053
Anti-pattern
Major
10 months ago2 years old
Abstract method _iter_trees should raise NotImplementedError
19        self.out_var_name = out_var_name
20
21    @abc.abstractmethod
22    def _iter_trees(self):23        pass
24
25    @classmethod
Abstract method _leaf_value should raise NotImplementedError
 85        pass
 86
 87    @abc.abstractmethod
 88    def _leaf_value(self): 89        pass
 90
 91    @staticmethod
Abstract method _decision_type should raise NotImplementedError
 81        pass
 82
 83    @abc.abstractmethod
 84    def _decision_type(self): 85        pass
 86
 87    @abc.abstractmethod
Abstract method _split_value should raise NotImplementedError
 77        pass
 78
 79    @abc.abstractmethod
 80    def _split_value(self): 81        pass
 82
 83    @abc.abstractmethod
Abstract method _missing_node should raise NotImplementedError
 73        pass
 74
 75    @abc.abstractmethod
 76    def _missing_node(self): 77        pass
 78
 79    @abc.abstractmethod