I'm wondering, what is the best practices to handle abstract property type validation?
from abc import ABC, abstractmethod
class Base(ABC):
@property
@abstractmethod
def name(self):
"""
:type str
"""
pass
class MyClass(Base):
name = 1 # TypeError