def access(self, name: str, rename: Optional[str] = None) -> 'ProxyAttr':
        """
        为类设置代理 getter, setter
        """
        self.getter(name, rename)
        self.setter(name, rename)
        return self
def access ( self , name : str , rename : Optional [ str ] = None ) -> 'ProxyAttr' : self . getter ( name , rename ) self . setter ( name , rename ) return self
为类设置代理 getter, setter