You are utilizing abstract base classes (ABCs). How do you enforce that a subclass implements a specific method?
@abstractmethod ensures the subclass cannot be instantiated without overriding the method.
Why this answer
The @abstractmethod decorator marks a method as requiring implementation in concrete subclasses.