perago.PreGuardrailViolation#
- exception perago.PreGuardrailViolation[源代码]#
Raised when pre-task workspace checks fail.
A pre-check failure means the downloaded workspace does not satisfy the task's required input shape.
result_for_exceptionmaps this subclass toFAILED_WITH_TERMINAL_ERRORbecause retrying the same invalid input should not re-run the task body.参见
GuardrailViolationBase class for workspace check failures.
check_guardrailsEvaluate configured workspace checks.
result_for_exceptionConvert this exception to a terminal failed result.
Examples
>>> PreGuardrailViolation("raw/input.parquet is missing") PreGuardrailViolation('raw/input.parquet is missing')