class_docstr: pending_xref node resolver for intersphinx role.
  
  This resolves pending_xref nodes generated by :intersphinx:***: role.
code: def run(self, **kwargs: Any) -> None:
      for node in self.document.findall(pending_xref):
          if "intersphinx" not in node:
              continue
          contnode = cast(nodes.TextElement, node[0].deepcopy())
          inv_name = node["inventory"]
          if inv_name is not None:
              assert inventory_exists(self.env, inv_name)
              newnode = resolve_reference_in_inventory(
                  self.env, inv_name, node, contnode
              )
          else:
              newnode = resolve_reference_any_inventory(
                  self.env, False, node, contnode
              )
          if newnode is None:
              typ = node["reftype"]
              msg = __(
                  "external %s:%s reference target not found: %s"
              ) % (node["refdomain"], typ, node["reftarget"])
              logger.warning(
                  msg, location=node, type="ref", subtype=typ
              )
              node.replace_self(contnode)
          else:
              node.replace_self(newnode)
  
imports: from __future__ import annotations
  import concurrent.futures
  import functools
  import posixpath
  import re
  import sys
  import time
  from os import path
  from typing import TYPE_CHECKING, cast
  from urllib.parse import urlsplit, urlunsplit
  from docutils import nodes
  from docutils.utils import relative_path
  import sphinx
  from sphinx.addnodes import pending_xref
  from sphinx.builders.html import INVENTORY_FILENAME
  from sphinx.errors import ExtensionError
  from sphinx.locale import _, __
  from sphinx.transforms.post_transforms import ReferencesResolver
  from sphinx.util import logging, requests
  from sphinx.util.docutils import CustomReSTDispatcher, SphinxRole
  from sphinx.util.inventory import InventoryFile
label_desc: Use image node_id 1 for calling the IntersphinxRoleResolver obj's underlying member method code with example usage: obj.run() without return types