https://dagster.io/ logo
Title
c

charles

11/10/2022, 11:20 PM
Why does adding get_one operator dependency in line 55 break the code ? What am I missing.
j

Joe

11/10/2022, 11:23 PM
the definition of
get_one
isn't expecting to receive the output of
run_dbt_nightly_sync
If you add another param along side
context
that error should go away. You could also just call the two ops independently of eachother in the job some docs on op inputs https://docs.dagster.io/concepts/ops-jobs-graphs/ops#inputs
c

charles

11/11/2022, 12:23 AM
Can you please let meknow what you meant by add another parameter along side context. If I add it, wont it throw an error since I am not using that parameter?
Both jobs are depended, I cant run it independently
j

Joe

11/11/2022, 12:23 AM
def get_one(context, _dbt_sync_output):
c

charles

11/11/2022, 12:24 AM
I see , Thanks let me try this
The moment I add this line of code, The deployment throws me an error.
I meant, if I add _dbt_sync_output the deployment fails
r

rex

11/11/2022, 2:39 AM
Hey Charles, I recommend that you take a look at the tutorial before asking any other questions - we go over many of the concepts that you’re asking about there: https://docs.dagster.io/tutorial