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

Method __init__

tests/generate_old_pickles.py:80–81  ·  view source on GitHub ↗
(self, attribute: T)

Source from the content-addressed store, hash-verified

78
79 class MyClass(Generic[T]):
80 def __init__(self, attribute: T):
81 self.attribute = attribute
82
83 dump_obj(MyClass, "class_with_type_hints.pkl")
84

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected