Hi all. So basically I use Python 2.x
And here, whenever we want to use a method which is abstract we define it as follows:
class Base:
def foo(self):
raise NotImplementedError("Subclasses should implement this!")
And later, let us say I forgot to override it. This is where I get the exception, right?
IS there any nice way to consider a field to be marked as abstract? Or can it be done easily by changing and adding in the documentation string and considering that solves the issue?
All help appreciated, cheers!