preflight@scheduler option

momotor.options.domain.scheduler.preflight.create_preflight_result(providers, trigger, action, status)

Create a ResultsBundle with a pre-flight result for the given action

Return type

Optional[ResultsBundle]

momotor.options.domain.scheduler.preflight.preflight_check(providers)

Check the preflight@scheduler option and return a ResultsBundle with a result for the task with id task_id if any pre-flight options activated.

Returns None if there was no pre-flight action taken.

Return type

Optional[ResultsBundle]