class_docstr: Scheme-based registry for artifact repository implementations
  
  This class allows the registration of a function or class to provide an implementation for a
  given scheme of `artifact_uri` through the `register` method. Implementations declared though
  the entrypoints `mlflow.artifact_repository` group can be automatically registered through the
  `register_entrypoints` method.
  
  When instantiating an artifact repository through the `get_artifact_repository` method, the
  scheme of the artifact URI provided will be used to select which implementation to instantiate,
  which will be called with same arguments passed to the `get_artifact_repository` method.
class_docstr_tok: ["Scheme-based","registry","for","artifact","repository","implementations","This","class","allows","the","registration","of","a","function","or","class","to","provide","an","implementation","for","a","given","scheme","of","`","artifact_uri","`","through","the","`","register","`","method",".","Implementations","declared","though","the","entrypoints","`","mlflow.artifact_repository","`","group","can","be","automatically","registered","through","the","`","register_entrypoints","`","method",".","When","instantiating","an","artifact","repository","through","the","`","get_artifact_repository","`","method",",","the","scheme","of","the","artifact","URI","provided","will","be","used","to","select","which","implementation","to","instantiate",",","which","will","be","called","with","same","arguments","passed","to","the","`","get_artifact_repository","`","method","."]
docstr: Register artifact repositories provided by other packages
docstr_tok: ["Register","artifact","repositories","provided","by","other","packages"]
code: def register(self, scheme, repository):
      """Register artifact repositories provided by other packages"""
      self._registry[scheme] = repository
  
imports: import warnings
  from typing import Dict
  import entrypoints
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
  from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository
  from mlflow.store.artifact.dbfs_artifact_repo import dbfs_artifact_repo_factory
  from mlflow.store.artifact.ftp_artifact_repo import FTPArtifactRepository
  from mlflow.store.artifact.gcs_artifact_repo import GCSArtifactRepository
  from mlflow.store.artifact.hdfs_artifact_repo import HdfsArtifactRepository
  from mlflow.store.artifact.http_artifact_repo import HttpArtifactRepository
  from mlflow.store.artifact.local_artifact_repo import LocalArtifactRepository
  from mlflow.store.artifact.mlflow_artifacts_repo import MlflowArtifactsRepository
  from mlflow.store.artifact.models_artifact_repo import ModelsArtifactRepository
  from mlflow.store.artifact.r2_artifact_repo import R2ArtifactRepository
  from mlflow.store.artifact.runs_artifact_repo import RunsArtifactRepository
  from mlflow.store.artifact.s3_artifact_repo import S3ArtifactRepository
  from mlflow.store.artifact.sftp_artifact_repo import SFTPArtifactRepository
  from mlflow.utils.uri import get_uri_scheme
label_desc: Use image node_id 2 for calling the ArtifactRepositoryRegistry obj's underlying member method code with example usage: obj.register(scheme, repository) without return types