Rahul Dave
03/01/2023, 9:20 PMRahul Dave
03/01/2023, 9:27 PMsandy
03/01/2023, 10:26 PMcontext.instance
inside the sensor to run methods on DagsterInstance
that fetch data from the Dagster event log
Dagster doesn't have arbitrary "events" though - all the events have a type and meaning - so the event would probably need to be an AssetMaterialization
or somethingRahul Dave
03/01/2023, 10:32 PMRahul Dave
03/01/2023, 10:37 PMsandy
03/02/2023, 4:14 PMSo then an AssetMayerialization is a veneer over an output event?Step output events indicate "this op returned a value". Asset materialization events indicate "some value was placed in persistent storage".
Out of curiosity, is there a reason why creating and emitting events is not part of the public api? Is it for not wanting to support a generic event queue mechanism?Creating and emitting certain kinds of events (like AssetMaterializations and ExpectationResults) is part of the public API. For generic events, it's something we've lightly discussed but haven't developed a strong stance on.
Rahul Dave
03/02/2023, 7:05 PM