nirs4all.pipeline.config.portable_method_specs module

Per-method adaptations for shared n4m JSON/YAML recipes.

class nirs4all.pipeline.config.portable_method_specs.PortableMethodSpec(class_path: str, defaults: dict[str, ~typing.Any] = <factory>, required: frozenset[str] = frozenset({}), validate: ~collections.abc.Callable[[dict[str, ~typing.Any]], None] | None = None)[source]

Bases: object

Python binding and parameter contract for one shared Methods recipe.

class_path: str
defaults: dict[str, Any]
required: frozenset[str] = frozenset({})
validate: Callable[[dict[str, Any]], None] | None = None