if i have a sensor that checks for some asset and ...
# ask-community
p
if i have a sensor that checks for some asset and another that say checks whether a BigQuery table exists, is there a way to combine them so that a job runs only when both sensor conditions are satisfied? i realize i could just create a new sensor that yields a run request when both conditions are met but i'd like to be able to use that "BigQuery table sensor" in multiple places so something more reusable would be great
c
Hey Prratek. In Dagster, sensors currently run independently and there is no existing way to trigger a run only if both sensor conditions are satisfied. The easiest solution is probably to define a third sensor that checks for both conditions.
p
got it, thanks claire!
dagster yay 1