# sec_interp.core.validation.pipeline module

Pipeline for executing multiple validators.

class sec_interp.core.validation.pipeline.ValidationPipeline(validators: Iterable[IValidator] | None = None)

  Bases: `object`

  Orchestrates the execution of multiple IValidator instances.

  __init__(validators: Iterable[IValidator] | None = None) → None

    Initialize pipeline with optional list of validators.

  add_validator(validator: IValidator) → None

    Add a validator to the pipeline.

  execute(params: ValidationParams, context: ValidationContext) → None

    Execute all validators in sequence.