Skip to main content

run_params

Function run_params 

Source
pub fn run_params(
    params: Option<&Params>,
    given: Option<&Map<String, Value>>,
) -> Result<Value, String>
Expand description

A run’s parameters, as stored (decision 138): the DAG’s defaults with given over them, checked against its schema.

§Errors

Why they are refused, to show: parameters for a DAG that takes none, an unknown field, values that don’t fit the schema, or over MAX_PARAMS_BYTES.