I’m attempting to automatically implement inherited abstract methods using metaclass in Python. I’ve succeeded and it functions correctly.
However, VSCode displays a ‘reportAbstractUsage’ error at the point where the class is instantiated. Even though this doesn’t affect the runtime, I’d like to eliminate this error.
Therefore, I’m seeking a way to ignore the ‘reportAbstractUsage’ error wherever the class is instantiated.
I’ve searched through the Pyright documentation and consulted with ChatGPT, but I haven’t found a solution yet. Any help would be appreciated.