Pipeline
- class Pipeline
-
Methods
- schedule(documents: Sequence[syside.SharedMutex[syside.BasicDocument]], options: syside.ScheduleOptions = ..., invalidated: Sequence[syside.SharedMutex[syside.BasicDocument]] = []) syside.Schedule
Schedule
documentsfor building with thisPipeline.documentswithbuild_stateequal or greater to the state at the end of particular pipeline stage will not be scheduled for that stage. For example, a document withbuild_state >= BuildState.Parsedwill not be scheduled for parsing.Pipeline also accepts additional
invalidateddocuments that will have their semantic states reset. These documents will then pass through sema and validation stages as normal. This should typically be used for documents that have had their dependencies modified. Note that any such documents that were also passed indocumentswill be ignored for invalidation. Any documents for whichbuild_state < BuildState.Builtwill not be invalidated as there should be nothing to invalidate.The returned schedule should be executed on an
Executor:executor = syside.Executor(...) schedule = pipeline.schedule(...) ... result = executor.run(schedule)