https://dagster.io/ logo
#dagster-support
Title
# dagster-support
w

Will T

07/13/2022, 6:59 PM
What is the MetadataValue type of a list when yielding an AssetMaterialization? I don't see it anywhere in the docs - https://docs.dagster.io/_modules/dagster/core/definitions/metadata I'm getting an error at the "tags" entry
r

rex

07/13/2022, 7:03 PM
Try
MetadataValue.text(str(list(mlcc.experiment_data.tags))
?
w

Will T

07/13/2022, 7:11 PM
Thanks! I actually got it to work by yielding an entire json blob. experiment_data is a dataclass so JsonMetadataValue(asdict(mlcc.experiment_data)) worked.
👍🏽 1
15 Views