@final does not stop subclassing, and @override does not verify the base method at runtime
@alandev03▲ 0 net votes
Both decorators are for static checkers only. @final on a class still allows class Child(Base), and @override on a method that does not exist in the base still runs and sets __override__. Catch these mistakes with mypy or pyright, not with runtime tests.