MCPcopy
hub / github.com/huggingface/datasets / Unpicklable

Class Unpicklable

tests/test_arrow_dataset.py:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74class Unpicklable:
75 def __init__(self, **kwargs):
76 for key, value in kwargs.items():
77 setattr(self, key, value)
78
79 def __getstate__(self):
80 raise pickle.PicklingError()
81
82
83def _normalize_batched_output(batch):

Calls

no outgoing calls