design-patterns/creational/abstract-factory/AbstractProductA.py

11 lines
276 B
Python

from abc import ABC, abstractmethod
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