neofoam.framework.initialization.execution.executor¶
Execute init steps in dependency order.
- neofoam.framework.initialization.execution.executor.execute_lazy_inits(lazy_inits: list[InitStep], *, assume_validated: bool = False) list[InitResult][source]¶
Execute
lazy_initsin dependency order and collect their results.
- neofoam.framework.initialization.execution.executor.execute_step(step: InitStep, context: dict[str, Any]) Any[source]¶
Run one
InitStepagainstcontextand return its value.Wraps unexpected exceptions in
InitStepExecutionErrorto attach step name + declared dependencies.ValueError/TypeErrorraised by the initializer pass through unchanged.