Vinnie
12/08/2022, 11:46 AMAssetsDefinitions
don’t (can’t?) contain metadata. Inspecting the python object does properly return metadata under the property _metadata_by_key
but it doesn’t show up on dagit and can’t be accessed through my_asset.metadata
(or rather, the property doesn’t exist).
AssetsDefinition.from_graph(
my_graph,
keys_by_output_name={"result": AssetKey("my_cool_key")},
metadata_by_output_name={"result": {"column_schema": TableSchema.from_name_type_dict({"some_col": "str"})}},
)
owen
12/09/2022, 12:52 AMVinnie
12/09/2022, 8:28 AMowen
12/09/2022, 4:40 PMVinnie
12/16/2022, 7:30 AM