Function fiberplane_templates::expand_template
source · pub fn expand_template(
template: impl AsRef<str>,
args: impl IntoIterator<Item = (impl AsRef<str>, impl Into<Value>)>
) -> Result<NewNotebook, Error>
Expand description
Evaluate the template with the given top-level arguments.
This function also filters out any invalid labels to ensure that the notebook will be successfully created.