https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Alexei Zhuchkov

03/10/2023, 5:41 PM
Hi everyone! How can I wait for the completion of the previous
RunRequest(...)
when using a sensor?
c

chris

03/10/2023, 7:16 PM
Wouldn’t advise waiting for completion, since sensors are meant to poll on short intervals, but you could gate sending a new run request on seeing whether a run matching your specifications has already been sent recently using something like
context.instance.get_run_records
❤️ 1