I am trying to implement this solution for using a...
# ask-community
k
I am trying to implement this solution for using a sensor to trigger a job but I get exactly the same error as described in the post
AttributeError: 'RunRecord' object has no attribute 'run_id'
https://github.com/dagster-io/dagster/discussions/7160 - any ideas on what the reason might be? perhaps a change in dagster version? I'm using 1.2.4 (edited)
d
Hi Konrad - does
run_record.dagster_run.run_id
work better?
👍 1
I edited the example code in the answer on that issue to reflect the latest version: https://github.com/dagster-io/dagster/discussions/7160#discussioncomment-2473920