https://dagster.io/ logo
Title
p

Philippe Laflamme

04/25/2023, 6:19 PM
Is there an intention of allowing the evaluation of sensors from the cli? We can preview them with
dagster sensor preview my_sensor
but cannot evaluate them currently i.e.:
dagster sensor evaluate my_sensor
(kind of like how you can kick off a job with
dagster job execute
)
c

chris

04/25/2023, 8:29 PM
not an intention as of yet - we have a way of doing this via the UI using the test sensor button,
p

Philippe Laflamme

04/25/2023, 9:56 PM
ok, yeah, I’m looking for a way to run sensors from the command line so I can test things without having to wait for ticks or run the deamon
c

chris

04/25/2023, 9:56 PM
( to be clear the button works without running daemon ) but understandable that you might want to also do this via the CLI
p

Philippe Laflamme

04/25/2023, 10:07 PM
ah, yeah good point, but doesn’t the button only “test” the sensor? i.e.: it persists the cursor, but doesn’t actually launch the runs?
c

chris

04/25/2023, 10:46 PM
There’s options to open runs in Launchpad, and optionally persist the cursor