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

Method __post_init__

src/datasets/info.py:80–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 resources_checksums: Optional[dict] = None
79
80 def __post_init__(self):
81 # Convert back to the correct classes when we reload from dict
82 if self.features is not None and not isinstance(self.features, Features):
83 self.features = Features.from_dict(self.features)
84
85 @classmethod
86 def from_dict(cls, post_processed_info_dict: dict) -> "PostProcessedInfo":

Callers

nothing calls this directly

Calls 1

from_dictMethod · 0.45

Tested by

no test coverage detected