Can Sensor tick be manually triggered outside the usual schedule? #21805
-
Deployment type: Dagster Cloud Hybrid We have a sensor serving for picking up new files from GCS into new partitions. Obvious solution for the issue will be manual sensor tick trigger, but unfortunately I'm really struggle with finding how to do it.
So can (and how?) can I trigger a Sensor run? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There's no way to manually trigger a sensor evaluation. The closest approximation is in the GraphQL API you can use the You could then use this information to send a manual |
Beta Was this translation helpful? Give feedback.
There's no way to manually trigger a sensor evaluation.
The closest approximation is in the GraphQL API you can use the
sensorDryRun
mutation to get back theDryRunInstitgationTick
which has details about how the sensor'sRunRequest
would be composed (example query in this Gist)You could then use this information to send a manual
RunRequest
, but this would not really be equivalent to the sensor itself performing an evaluation.