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","."]
docstr: Download an artifact file or directory to a local directory if applicable, and return a
  local path for it.
  The caller is responsible for managing the lifecycle of the downloaded artifacts.
  
  :param artifact_path: Relative source path to the desired artifacts.
  :param dst_path: Absolute path of the local filesystem destination directory to which to
                   download the specified artifacts. This directory must already exist.
                   If unspecified, the artifacts will either be downloaded to a new
                   uniquely-named directory on the local filesystem or will be returned
                   directly in the case of the LocalArtifactRepository.
  
  :return: Absolute path of the local filesystem location containing the desired artifacts.
docstr_tok: ["Download","an","artifact","file","or","directory","to","a","local","directory","if","applicable",",","and","return","a","local","path","for","it",".","The","caller","is","responsible","for","managing","the","lifecycle","of","the","downloaded","artifacts",".",":","param","artifact_path",":","Relative","source","path","to","the","desired","artifacts",".",":","param","dst_path",":","Absolute","path","of","the","local","filesystem","destination","directory","to","which","to","download","the","specified","artifacts",".","This","directory","must","already","exist",".","If","unspecified",",","the","artifacts","will","either","be","downloaded","to","a","new","uniquely-named","directory","on","the","local","filesystem","or","will","be","returned","directly","in","the","case","of","the","LocalArtifactRepository",".",":","return",":","Absolute","path","of","the","local","filesystem","location","containing","the","desired","artifacts","."]
code: def download_artifacts(self, artifact_path, dst_path=None):
      """
      Download an artifact file or directory to a local directory if applicable, and return a
      local path for it.
      The caller is responsible for managing the lifecycle of the downloaded artifacts.
  
      :param artifact_path: Relative source path to the desired artifacts.
      :param dst_path: Absolute path of the local filesystem destination directory to which to
                       download the specified artifacts. This directory must already exist.
                       If unspecified, the artifacts will either be downloaded to a new
                       uniquely-named directory on the local filesystem or will be returned
                       directly in the case of the LocalArtifactRepository.
  
      :return: Absolute path of the local filesystem location containing the desired artifacts.
      """
      return self.repo.download_artifacts(artifact_path, dst_path)
  
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 9 for calling the RunsArtifactRepository obj's underlying member method code with example usage: obj.download_artifacts(artifact_path, dst_path) and returns: self