src/flask/scaffold.py
def static_url_path(self) -> t.Optional[str]:
        """The URL prefix that the static route will be accessible from.

        If it was not configured during init, it is derived from
        :attr:`static_folder`.
        """
        if self._static_url_path is not None:
            return self._static_url_path

        if self.static_folder is not None:
            basename = os.path.basename(self.static_folder)
            return f"/{basename}".rstrip("/")

        return None
The URL prefix that the static route will be accessible from.

        If it was not configured during init, it is derived from
        :attr:`static_folder`.
        
The URL prefix that the static route will be accessible from.
If it was not configured during init, it is derived from
The URL prefix that the static route will be accessible from . If it was not configured during init it is derived from
def static_url_path(self) -> t.Optional[str]:
        if self._static_url_path is not None:
            return self._static_url_path
        if self.static_folder is not None:
            basename = os.path.basename(self.static_folder)
            return f"/{basename}".rstrip("/")
        return None
def static_url_path ( self ) -> t . Optional [ str ] : if self . _static_url_path is not None : return self . _static_url_path if self . static_folder is not None : basename = os . path . basename ( self . static_folder ) return f"/{basename}" . rstrip ( "/" ) return None
The URL prefix that the static route will be accessible from.
The URL prefix that the static route will be accessible from .
"""The URL prefix that the static route will be accessible from.

        If it was not configured during init, it is derived from
        :attr:`static_folder`.
        """
self
attr
None