Skip to content

How can I test schedule execution? #4004

Answered by NakulK48
NakulK48 asked this question in Q&A
Discussion options

You must be logged in to vote

This appears to work:

instance = DagsterInstance.get().get_ref()
context = ScheduleExecutionContext(instance, scheduled_execution_time=None)
[run_request] = schedule.get_execution_data(context)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sryza
Comment options

Answer selected by sryza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants