code: def __call__(self, environ, start_response):
      path = environ.get("PATH_INFO", "")
      if path != self._path_prefix and not path.startswith(
          self._strict_prefix
      ):
          raise errors.NotFoundError()
      environ["PATH_INFO"] = path[len(self._path_prefix) :]
      environ["SCRIPT_NAME"] = (
          environ.get("SCRIPT_NAME", "") + self._path_prefix
      )
      return self._application(environ, start_response)
  
imports: from tensorboard import errors
label_desc: Use image node_id 2 for calling the PathPrefixMiddleware obj's underlying member method code with example usage: obj.__call__(environ, start_response) and returns: self