This is going to get very weird, very quickly. When you create a class in Python, it looks about like the following:
class MyClass:
pass
Now, let’s say I create some really cool class, with a set of cool functions, but I expect my users to implement some of the functions:
from abc import abstractmethod
class BaseClass:
@abstractmethod
def foo(self,):
raise NotImplementedError
So the intention is, when my user inherits the above class, they do the following: