MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / _dict_keys_reduce

Function _dict_keys_reduce

cloudpickle/cloudpickle.py:1098–1102  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1096
1097
1098def _dict_keys_reduce(obj):
1099 # Safer not to ship the full dict as sending the rest might
1100 # be unintended and could potentially cause leaking of
1101 # sensitive information
1102 return _make_dict_keys, (list(obj),)
1103
1104
1105def _dict_values_reduce(obj):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected