Flatten
flatten
Flatten strategy — collapse single-child wrapper dicts.
FlattenStrategy
Bases: SmeltStrategy
Collapse single-child wrapper dicts into dotted keys.
Source code in packages/axm-smelt/src/axm_smelt/strategies/flatten.py
apply(ctx)
Collapse single-child wrapper dicts into dotted keys.
Uses ctx.parsed when available to skip
json.loads. Propagates the flattened object as
parsed on the returned context.