Is there a way to trigger an asset materialization from a sensor without defining a job? #17567
-
I have an asset with dynamic partitions and I want to trigger a partition materialization. To do that, we have to define a job with a partition config as well. Is there a way we can skip defining the job, and just trigger the asset materialization? I'm imagining something like this, which is an edit of your examples:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hey Andy! The |
Beta Was this translation helpful? Give feedback.
Hey Andy!
The
sensor
decorator takes anasset_selection
argument that indicates what assets you want to materialize, similar to theasset_key
argument that you're proposing. TheRunRequest
s made will trigger the materializations of the asset passed in.