class_docstr: Abstract class defining a scheme-based registry for store implementations.
  
  This class allows the registration of a function or class to provide an
  implementation for a given scheme of `store_uri` through the `register`
  methods. Implementations declared though the entrypoints can be automatically
  registered through the `register_entrypoints` method.
  
  When instantiating a store through the `get_store` method, the scheme of
  the store URI provided (or inferred from environment) will be used to
  select which implementation to instantiate, which will be called with same
  arguments passed to the `get_store` method.
class_docstr_tok: ["Abstract","class","defining","a","scheme-based","registry","for","store","implementations",".","This","class","allows","the","registration","of","a","function","or","class","to","provide","an","implementation","for","a","given","scheme","of","`","store_uri","`","through","the","`","register","`","methods",".","Implementations","declared","though","the","entrypoints","can","be","automatically","registered","through","the","`","register_entrypoints","`","method",".","When","instantiating","a","store","through","the","`","get_store","`","method",",","the","scheme","of","the","store","URI","provided","(","or","inferred","from","environment",")","will","be","used","to","select","which","implementation","to","instantiate",",","which","will","be","called","with","same","arguments","passed","to","the","`","get_store","`","method","."]
docstr: Get a store from the registry based on the scheme of store_uri
  
  :param store_uri: The store URI. If None, it will be inferred from the environment. This
                    URI is used to select which tracking store implementation to instantiate
                    and is passed to the constructor of the implementation.
  :return: A function that returns an instance of
           ``mlflow.store.{tracking|model_registry}.AbstractStore`` that fulfills the store
            URI requirements.
docstr_tok: ["Get","a","store","from","the","registry","based","on","the","scheme","of","store_uri",":","param","store_uri",":","The","store","URI",".","If","None",",","it","will","be","inferred","from","the","environment",".","This","URI","is","used","to","select","which","tracking","store","implementation","to","instantiate","and","is","passed","to","the","constructor","of","the","implementation",".",":","return",":","A","function","that","returns","an","instance","of","``","mlflow.store",".","{","tracking|model_registry","}",".AbstractStore","``","that","fulfills","the","store","URI","requirements","."]
code: def get_store_builder(self, store_uri):
      """Get a store from the registry based on the scheme of store_uri
  
      :param store_uri: The store URI. If None, it will be inferred from the environment. This
                        URI is used to select which tracking store implementation to instantiate
                        and is passed to the constructor of the implementation.
      :return: A function that returns an instance of
               ``mlflow.store.{tracking|model_registry}.AbstractStore`` that fulfills the store
                URI requirements.
      """
      scheme = (
          store_uri
          if store_uri in {"databricks", "databricks-uc"}
          else get_uri_scheme(store_uri)
      )
      try:
          store_builder = self._registry[scheme]
      except KeyError:
          raise UnsupportedModelRegistryStoreURIException(
              unsupported_uri=store_uri,
              supported_uri_schemes=list(self._registry.keys()),
          )
      return store_builder
  
file_path: mlflow/mlflow/tracking/registry.py
imports: import warnings
  from abc import ABCMeta, abstractmethod
  import entrypoints
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.utils.uri import get_uri_scheme
label_desc: Use image node_id 4 for calling the StoreRegistry obj's underlying member method code with example usage: obj.get_store_builder(store_uri) and returns: store_builder