The closest is this (Observe that the casts of wrapper are not needed when you make self posonly), however it breaks typing for self.funct. if you do not have to have that attribute or are Okay with it remaining https://bookmarkvids.com/story19258744/5-simple-statements-about-python-coaching-in-btm-explained