The closest Is that this (Notice that the casts of wrapper usually are not essential if you make self posonly), nevertheless it breaks typing for self.funct. If you don't require that attribute or are Okay with it https://siambookmark.com/story18071513/python-training-btm-can-be-fun-for-anyone