I have a class and would like to define a method that accepts an argument of the same class type like this:
class MyClass:
def my_method(self, param: MyClass):
pass
But I have an error Unresolved reference 'MyClass'
How to solve this issue?