Hi friends, say I have two assets or one op and an...
# ask-community
q
Hi friends, say I have two assets or one op and an asset. Can I update the metadata of the asset from the op? I believe this is possible with AssetMaterialization. For example, if the metadata key value of asset A os
path
. How do I update that from an op? Any pointers to the docs or an example?
t
Hmm, you should be able to. Have you tried passing the
metadata
arg into the
AssetMaterialization
instance? https://docs.dagster.io/_apidocs/ops#dagster.AssetMaterialization