class_docstr: A global system that helps to manage the experiments.
class_docstr_tok: ["A","global","system","that","helps","to","manage","the","experiments","."]
docstr: Download an artifact file or directory from a run to a local directory if applicable,
  and return a local path for it.
  
  Parameters
  ----------
  path : str
      Relative source path to the desired artifact.
  dst_path : Optional[str]
      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.
  
  Returns
  -------
  str
      Local path of desired artifact.
docstr_tok: ["Download","an","artifact","file","or","directory","from","a","run","to","a","local","directory","if","applicable",",","and","return","a","local","path","for","it",".","Parameters","--","--","--","--","--","path",":","str","Relative","source","path","to","the","desired","artifact",".","dst_path",":","Optional","[","str","]","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",".","Returns","--","--","--","-","str","Local","path","of","desired","artifact","."]
code: def download_artifact(
      self, path: str, dst_path: Optional[str] = None
  ) -> str:
      """
      Download an artifact file or directory from a run to a local directory if applicable,
      and return a local path for it.
  
      Parameters
      ----------
      path : str
          Relative source path to the desired artifact.
      dst_path : Optional[str]
          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.
  
      Returns
      -------
      str
          Local path of desired artifact.
      """
      self.get_exp(start=True).get_recorder(
          start=True
      ).download_artifact(path, dst_path)
  
imports: from contextlib import contextmanager
  from typing import Text, Optional, Any, Dict
  from .expm import ExpManager
  from .exp import Experiment
  from .recorder import Recorder
  from ..utils import Wrapper
  from ..utils.exceptions import RecorderInitializationError
  import sys
label_desc: Use image node_id 21 for calling the QlibRecorder obj's underlying member method code with example usage: obj.download_artifact(path, dst_path) without return types