Source code for HALF.Interfaces.IHook from abc import ABC, abstractmethod [docs]class ActiveLearner: pass [docs]class IHook(ABC): """ Abstract class for Hooks and events """ [docs] @abstractmethod def apply(self, al: ActiveLearner, *args, **kwargs): pass