Skip to main content

validate

Function validate 

Source
pub fn validate(
    q: DynamicQuestion,
    allowlist: &[TaskFamily],
) -> Result<ValidatedQuestion, DynamicRequestError>
Expand description

Validate a request (3.2): its structural bounds, the labels its operation takes, the output kinds the operation allows, the abstention posture, positive bounds, and the host’s task-family allowlist.