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 Spec or a {"name": ..., "params": {...}} mapping.

Returns:

The constructed methods, in order.

Raises: