Skip to content

How to materialize an @asset in a job of @ops #24246

Answered by garethbrickman
dennisgera asked this question in Q&A
Discussion options

You must be logged in to vote

Jobs are distinct between ops and assets. Two ways to try came to my mind:

  1. a run status sensor that listens for when the job gets queued and yields a RunRequest to materialize the asset
  2. set up an asset job and then in an op call the GraphQL API to launch a run of the asset job

But these may not be worth doing compared to repeating code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dennisgera
Comment options

Answer selected by dennisgera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: ops/graphs/jobs Related to Dagster ops, graphs and jobs
2 participants