Stefan Adelbert
04/28/2022, 6:50 AMENGINE_EVENT
displaying all resource instantiated at the beginning of a job run with instantiation times (nice!) - see attached screenshot from dagit.
I noticed that the resource type behaves like a hyperlink, although it's just a span
. Also there is a dash with nothing after it - suggesting that there could be something after the dash...
I tried providing __str()__
and __repr()__
on my custom resources hoping that I could provide some runtime info about the resources that would show up in the ENGINE_EVENT
.
Is there some way to inspect a resource in dagit post-instantiation?Zach
04/28/2022, 12:48 PMalex
04/28/2022, 2:48 PMmetadata
type:
https://docs.dagster.io/_apidocs/ops#dagster.PythonArtifactMetadataValue
rendered by https://github.com/dagster-io/dagster/blame/master/js_modules/dagit/packages/core/src/metadata/MetadataEntry.tsx#L239-L264
we dont attempt to set the description
in any way where we create these metadata values
https://github.com/dagster-io/dagster/blame/master/python_modules/dagster/dagster/core/events/__init__.py#L921-L924
so this is something that could be improvedalex
04/28/2022, 2:48 PMDagster Bot
04/28/2022, 2:48 PM