Accessor base class.
- class skcriteria.utils.accabc.AccessorABC[source]¶
Generalization of the accessor idea for use in scikit-criteria.
Instances of this class are callable and accept as the first parameter ‘kind’ the name of a method to be executed followed by all the all the parameters of this method.
If ‘kind’ is None, the method defined in the class variable ‘_default_kind_kind’ is used.
The last two considerations are that ‘kind’, cannot be a private method and that all subclasses of the method and that all AccessorABC subclasses have to redefine ‘_default_kind’.