bayesline.api.strip_meta_keys#
- bayesline.api.strip_meta_keys(raw_json: Mapping[str, Any]) dict[str, Any]#
Return
raw_jsonwithout storage-level meta keys.Strips
VERSION_KEYandDATASET_KEY— the keys the writer injects around persistence — so callers see only the inner setting’s fields, matching the JSON shape that crosses the HTTP boundary.Parameters#
- raw_jsonMapping[str, Any]
The stored JSON, possibly carrying meta keys.
Returns#
- dict[str, Any]
A new dict with the meta keys removed.