There is a error: ```dagster._core.errors.DagsterI...
# ask-community
There is a error:
Copy code
dagster._core.errors.DagsterInvalidMetadata: Could not resolve the metadata value for "metadata_name" to a known type. Its type was <class 'numpy.int64'>. Consider wrapping the value with the appropriate MetadataValue type.
We can use .item(), but wonder if there is a better way to do this?