What is the MetadataValue type of a list when yiel...
# ask-community
w
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
Try
MetadataValue.text(str(list(mlcc.experiment_data.tags))
?
w
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