cleaned_artifact_uri = artifact_uri.rstrip("/")
uri_scheme = get_uri_scheme(artifact_uri)
if uri_scheme != "dbfs":
raise MlflowException("DBFS URI must be of the form "
"dbfs:/<path>, but received {uri}".format(uri=artifact_uri))
if is_databricks_acled_artifacts_uri(artifact_uri):
return DatabricksArtifactRepository(cleaned_artifact_uri)
elif mlflow.utils.databricks_utils.is_dbfs_fuse_available() \
and os.environ.get(USE_FUSE_ENV_VAR, "").lower() != "false" \