I have defined an abstract class like so:
class Fruits(ABC):
@abstractmethod
def eat(self):
dosomething
@staticmethod
def helper(apple: Fruits):
apple.eat()
dosomethingelse
However I am getting undefined name "Fruits" for the static method helper. I wonder what I am doing incorrectly here.