From a9fa5b8161a35f5b26ab155907c6067d1628bee6 Mon Sep 17 00:00:00 2001 From: Yun Wu Date: Thu, 26 Sep 2024 17:39:39 -0700 Subject: [PATCH] Correct doc string --- metaflow/plugins/aip/aip_metaflow_step.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/metaflow/plugins/aip/aip_metaflow_step.py b/metaflow/plugins/aip/aip_metaflow_step.py index 77b38df7ec4..add0d5dbe05 100644 --- a/metaflow/plugins/aip/aip_metaflow_step.py +++ b/metaflow/plugins/aip/aip_metaflow_step.py @@ -37,10 +37,9 @@ def _write_card_artifacts( run_id: str, ): """ - Add card artifacts to step outputs. This function depends on Metaflow backend. - - Cards are still available to view through Metaflow UI or Metaflow CLI even if this function fails. - Therefore, all exceptions are caught and logged, instead of raised. + Pull card artifacts from datastore and add them to the Argo artifact output path. + Cards should already be uploaded to the datastore as part of the @card decorator. + No exception is thrown: cards are available to view through Metaflow UI or CLI even if this function fails. """ task_id_template: str = f"{task_id}.{passed_in_split_indexes}".strip(".")