code: def make_instance(self, url: str) -> T:
      scheme = urlparse(url).scheme
      try:
          class_: Type[T] = self.get_class(scheme)
      except NotImplementedError as err:
          raise NotImplementedError(
              f"Unsupported URL {url}: {err}"
          ) from None
      return class_(url)
  
file_path: PyTorch-BigGraph/torchbiggraph/plugin.py
imports: from typing import Callable, Dict, Generic, Type, TypeVar
  from urllib.parse import urlparse
label_desc: Use image node_id 1 for calling the URLPluginRegistry obj's underlying member method code with example usage: obj.make_instance(url) and returns: class_