Add Metadata after an artifact has been logged

Hi All,

I’m currently using the W&B Metaflow Integration: https://docs.wandb.ai/guides/integrations/other/metaflow. Any instance variables that are Pandas Dataframes or PathLibs are automatically logged as dataset artifacts. Due to this, I’m not able to supply a description for the artifact or any metadata for it when the artifact is created. Is there any way to supply this information after the artifact is created?

Thanks for the help!

I ended up adding a metaflow step that updates the artifact that was just automatically logged, like in this example: https://docs.wandb.ai/guides/artifacts/api#updating-artifacts.

2 Likes

Thank you so much for answering your own question! Feel free to share a code snippet for future readers going down the same path.
:raised_hands:

I’ve updated the docs to reflect this solution :slight_smile: