MCPcopy Index your code
hub / github.com/cloudpipe/cloudpickle / _enum_getnewargs

Function _enum_getnewargs

cloudpickle/cloudpickle.py:684–694  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

682
683
684def _enum_getnewargs(obj):
685 members = {e.name: e.value for e in obj}
686 return (
687 obj.__bases__,
688 obj.__name__,
689 obj.__qualname__,
690 members,
691 obj.__module__,
692 _get_or_create_tracker_id(obj),
693 None,
694 )
695
696
697# COLLECTION OF OBJECTS RECONSTRUCTORS

Callers 1

_dynamic_class_reduceFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…