class_docstr: Stores artifacts as files in a remote directory, via sftp.
code: def _delete_inner(self, artifact_path, sftp):
      if sftp.isdir(artifact_path):
          with sftp.cd(artifact_path):
              for element in sftp.listdir():
                  self._delete_inner(element, sftp)
          sftp.rmdir(artifact_path)
      elif sftp.isfile(artifact_path):
          sftp.remove(artifact_path)
  
imports: import os
  import posixpath
  import sys
  import threading
  import urllib.parse
  from contextlib import contextmanager
  from mlflow.entities import FileInfo
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
label_desc: Use image node_id 8 for calling the SFTPArtifactRepository obj's underlying member method code with example usage: obj._delete_inner(artifact_path, sftp) without return types