Abstract class properties#
Multiple solutions on how to enforce an abstract class property on an object. Generic types like ‘List[int]’ are not allowed, because the don’t work well with the isinstance()-like methods.
Multiple solutions on how to enforce an abstract class property on an object. Generic types like ‘List[int]’ are not allowed, because the don’t work well with the isinstance()-like methods.