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_inits in dependency order and collect their results.

neofoam.framework.initialization.execution.executor.execute_step(step: InitStep, context: dict[str, Any]) Any[source]

Run one InitStep against context and return its value.

Wraps unexpected exceptions in InitStepExecutionError to attach step name + declared dependencies. ValueError / TypeError raised by the initializer pass through unchanged.