torchcell.datamodels.interned_constant.resolve_pointers

resolve_pointers(obj: Any, constants: dict[str, Any]) → Any[source]

Splice constants back: a dict carrying $ref becomes constants[ref].

A missing id raises KeyError: a pointer the store cannot resolve is a broken build, not a record to skip.