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

Method _info

src/datasets/builder.py:672–681  ·  view source on GitHub ↗

Construct the DatasetInfo object. See `DatasetInfo` for details. Warning: This function is only called once and the result is cached for all following .info() calls. Returns: info: (DatasetInfo) The dataset information

(self)

Source from the content-addressed store, hash-verified

670
671 @abc.abstractmethod
672 def _info(self) -> DatasetInfo:
673 """Construct the DatasetInfo object. See `DatasetInfo` for details.
674
675 Warning: This function is only called once and the result is cached for all
676 following .info() calls.
677
678 Returns:
679 info: (DatasetInfo) The dataset information
680 """
681 raise NotImplementedError
682
683 @classmethod
684 def get_imported_module_dir(cls):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected