What do I have to change to support the latest ver...
# ask-community
g
What do I have to change to support the latest version of dagster. Now, I am getting:
Copy code
IO manager on output relationships has returned value MetadataEntry(label='key', description=None, entry_data=IntMetadataValue(value=123)) of type MetadataEntry. The return type can only be one of AssetMaterialization, Dict[str, MetadataValue].
🤖 1
My IO manager was
yield MetadataEntry(value=row_count, label="row_count")
for the asset
but this no longer seems to work.
is the
context.add_output_metadata
defined in the IO manager?
s
hi @geoHeil, yes, try
context.add_output_metadata({"row_count": row_count})
.
MetadataEntry
can no longer be passed to any of our APIs.
g
thx