build_methods
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- build_methods(steps: Sequence[Spec | Mapping[str, Any]]) Tuple[Any, ...][source]
Instantiate preprocessing methods from their specifications.
- Parameters:
steps – Ordered method specifications, each a
Specor a{"name": ..., "params": {...}}mapping.- Returns:
The constructed methods, in order.
- Raises:
ComponentNotFoundError – If a step names an unregistered method.
ConfigurationError – If a step’s parameters fail schema validation.