https://dagster.io/ logo
Title
n

Nitin Madhavan

02/16/2022, 5:37 AM
I am developing a data pipeline and make frequent changes for testing / bug resolution. Everytime I restart Dagster, I have to go to 10 separate sensors and enable them. Is there any way to enable multiple sensors together, probably through GraphQL.
r

rex

02/16/2022, 5:52 AM
There is a
startSensor
mutation that you can use to enable the sensors programatically. There's also
dagster sensor start --start-all
that you can run from the CLI. Though just to mention, in 0.14.0, there will be a way to have your sensors be enabled through code - https://github.com/dagster-io/dagster/pull/6079. This way, whenever you restart Dagit when developing, your sensors will always be on.
n

Nitin Madhavan

02/16/2022, 5:54 AM
Thanks👍