The closest Is that this (Notice that your casts of wrapper aren't important in case you make self posonly), nonetheless it breaks typing for self.funct. If you don't will need that attribute or are Alright with it https://guideyoursocial.com/story3408155/python-course-in-btm-for-dummies