nirs4all.pipeline.config.component_serialization module
- nirs4all.pipeline.config.component_serialization.serialize_component(obj: Any) Any[source]
Return something that json.dumps can handle.
Normalizes all syntaxes to canonical form for hash-based uniqueness. All instances serialize to their internal module paths with only non-default parameters. Descriptive pipeline strings remain literal; constructor arguments retain reference normalization. Live objects still normalize in either position.
- nirs4all.pipeline.config.component_serialization.unknown_parameters_message(component: Any, names: Any, *, injected: frozenset[str] = frozenset({})) str | None[source]
Describe constructor parameters
componentdoes not accept, orNone.A component that takes
**kwargsaccepts every name.injectednames are runtime hints a builder may ignore (e.g.input_shape).