from abc import ABC class AbstractProductA(ABC): """ Each distinct product of a product family should have a base interface. All variants of the product must implement this interface. """ def useful_function_a(self) -> str: pass