class_docstr: Handles artifacts associated with a Run via URIs of the form
    `runs:/<run_id>/run-relative/path/to/artifact`.
  It is a light wrapper that resolves the artifact path to an absolute URI then instantiates
  and uses the artifact repository for that URI.
  
  The relative path part of ``artifact_uri`` is expected to be in posixpath format, so Windows
  users should take special care when constructing the URI.
class_docstr_tok: ["Handles","artifacts","associated","with","a","Run","via","URIs","of","the","form","`","runs",":","\/","<","run_id",">","\/run-relative\/path\/to\/artifact","`",".","It","is","a","light","wrapper","that","resolves","the","artifact","path","to","an","absolute","URI","then","instantiates","and","uses","the","artifact","repository","for","that","URI",".","The","relative","path","part","of","``","artifact_uri","``","is","expected","to","be","in","posixpath","format",",","so","Windows","users","should","take","special","care","when","constructing","the","URI","."]
code: def get_underlying_uri(runs_uri):
      from mlflow.tracking.artifact_utils import get_artifact_uri
  
      (run_id, artifact_path) = RunsArtifactRepository.parse_runs_uri(
          runs_uri
      )
      tracking_uri = get_databricks_profile_uri_from_artifact_uri(
          runs_uri
      )
      uri = get_artifact_uri(run_id, artifact_path, tracking_uri)
      assert not RunsArtifactRepository.is_runs_uri(
          uri
      )  # avoid an infinite loop
      return add_databricks_profile_info_to_artifact_uri(
          uri, tracking_uri
      )
  
file_path: mlflow/mlflow/store/artifact/runs_artifact_repo.py
imports: import urllib.parse
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
  from mlflow.utils.uri import add_databricks_profile_info_to_artifact_uri, get_databricks_profile_uri_from_artifact_uri
label_desc: Use image node_id 3 for calling the RunsArtifactRepository obj's underlying member method code with example usage: obj.get_underlying_uri(runs_uri) and returns: add_databricks_profile_info_to_artifact_uri