def keys_to_keep() -> Dict[Type, Dict]:

source code

Return the currently set keys to keep, which is a dict with types as keys and the nested structure to keep as values.