How to add a type hint to a variable representing self in a static method within a Python class
I’m trying to add type hints to a static method in Python using typing.Self
. However, the type hint isn’t being applied to the self argument within the function itself.