Jordan
07/15/2022, 8:15 AMNone
metadata in an asset, although it was possible in previous versions. This is the error: dagster.core.errors.DagsterInvalidMetadata: Could not resolve the metadata value for "none_type" to a known type. Its type was <class 'NoneType'>. Consider wrapping the value with the appropriate MetadataValue type.
And the code to reproduce the error :
@asset(metadata={'none_type' : None})
def asset():
return 1
job = define_asset_job('job', selection = AssetSelection.assets(asset))
@repository()
def repo():
return [job, asset]
sandy
07/19/2022, 3:36 PMowen
07/19/2022, 5:22 PM