def path(self) -> Optional[str]:
        """
        获取 path
        """
        path_str = self.parse_url.path
        if path_str is not None and "%" in path_str:
            path_str = unquote(path_str)
        return path_str
def path ( self ) -> Optional [ str ] : path_str = self . parse_url . path if path_str is not None and "%" in path_str : path_str = unquote ( path_str ) return path_str
获取 path