What is the best way to create a parent class that is able to define a set of methods that will be implemented by the base classes?
The problem comes when a class A requires 2 parameters for method_X, while class B requires 3 parameters for the same method.
How can I solve this issue?
class SuperClass:
def method_X(self):
...
class A(SuperClass):
def method_X(self, a, b):
...
class B(SuperClass):
def method_X(self, a, b, c):
...