def METHOD_NAME(self, artifact_path=None):
    artifact_dir = posixpath.join(self.path, artifact_path) if artifact_path else self.path
    with self.pool.get_sfp_connection() as sftp:
        self._delete_inner(artifact_dir, sftp)