repr
key_repr
Get the key representation for the instance passed, either as the keys to keep or the keys to remove.
Arguments:
instance
- The instance for which we want to retrieve the key repr policy.
Returns:
Dict containing the policy, with a base key of “skip” or “keep”, followed by the nested structure of the elements to either remove or keep.