s6.utils.stage_decoratorΒΆ
Decorator for pipeline stage functions with context key requirements.
- exception s6.utils.stage_decorator.PipelineStageError
Bases:
ExceptionBase exception for pipeline stage validation errors.
- s6.utils.stage_decorator.pipeline_stage(require: List[str], produce: List[str]) Callable[[...], Any]
Decorator for pipeline stage functions that operate on a context object.
- Parameters:
require β List of dot-separated paths that must exist in context before running.
produce β List of dot-separated paths that must exist in context after running.