No abc library
Posted: Sat Dec 29, 2018 2:42 pm
Hello,
I have interfaces in my code design. Therefore, I am using the ABCMeta metaclass and the @abstractmethod decorator from the abc module. The problem is that there is no abc library for micropython. Is there any alternative or would you suggest to just override unimplemented methods of a regular class?
I have interfaces in my code design. Therefore, I am using the ABCMeta metaclass and the @abstractmethod decorator from the abc module. The problem is that there is no abc library for micropython. Is there any alternative or would you suggest to just override unimplemented methods of a regular class?