cadrumo.domain.calculations.registry._toml_helpers module

Shared TOML-table narrowing helper for the registry loader family.

Kept as the single narrowing helper used by the registry compiler family.

as_toml_table(value)[source]

Narrow a parsed TOML value to a string-keyed table, or None.

The original dictionary identity is preserved and every key is validated before the deserialization-boundary type is restored.

Return type:

dict[str, object] | None

Parameters:

value (object)