pub async fn download_artifact_with_factory<AWF: AsyncWriterFactory>(
    task_id: &str,
    run_id: Option<&str>,
    name: &str,
    retry: &Retry,
    queue_service: &Queue,
    writer_factory: &mut AWF
) -> Result<String>
Expand description

Download an artifact using an AsyncWriterFactory. This is useful for advanced cases where one of the convenience functions is not adequate. Returns the artifact’s content type. If run_id is None then the latest run will be used. Returns the content type.